Re: JDBC and Blobs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: JDBC and Blobs
Дата
Msg-id 12347.1213886608@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: JDBC and Blobs  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список 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 по дате отправления:

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: JDBC and Blobs
Следующее
От: David Wall
Дата:
Сообщение: Re: JDBC and Blobs