Re: Streaming binary data into db, difference between

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Andreas Prohaska <ap(at)apeiron(dot)de>
Cc: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Streaming binary data into db, difference between
Date: 2003-09-10 14:04:30
Message-ID: 3F5F2F6E.2070201@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Andreas Prohaska wrote:
>
> OK. If I got you right, the Postgres JDBC driver "simulates" the
> java.sql.Blob
> getBinaryStream() etc. methods by using LargeObject internally.
>

Correct.

> I assume that I can use this to read and write Blobs, not to delete them
> since the LargeObject wouldn't be unlinked.
>

Neither to create. But you can use the org.postgresql.largeobject
extension both to create and to delete (unlink).

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Fernando Nasser 2003-09-10 14:05:07 Re: Streaming binary data into db, difference between Blob
Previous Message Andreas Prohaska 2003-09-10 14:02:56 Re: Streaming binary data into db, difference between Blob