"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