Re: JDBC and Blobs - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: JDBC and Blobs
Date
Msg-id 12347.1213886608@sss.pgh.pa.us
Whole thread Raw
In response to Re: JDBC and Blobs  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
List pgsql-jdbc
"Albe Laurenz" <laurenz.albe@wien.gv.at> writes:
> Dev wrote:
>> If I delete a row in that table , will it delete the binary data
>> as well from the database server?

> No; the best way would be to create a trigger on the table that
> will delete the large object if you delete (or change) the
> OID in the table row.

See contrib/lo rather than reinventing that wheel for yourself ...

            regards, tom lane

pgsql-jdbc by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: JDBC and Blobs
Next
From: David Wall
Date:
Subject: Re: JDBC and Blobs