Re: Large object insert/update and oid use

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Large object insert/update and oid use
Дата
Msg-id 6931.1075580000@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Large object insert/update and oid use  (Louis LeBlanc <db@keyslapper.org>)
Список pgsql-general
Louis LeBlanc <db@keyslapper.org> writes:
>> For instance you need to explicitly delete a
>> large object when you don't need it any more --- deleting a table row
>> doesn't in itself make referenced large objects go away.

> This still sounds like our current model except for the fact that the
> OID has to be explicitly deleted.  I assume a trigger could be set up
> to perform this on the fly though?

Yeah, as long as you keep things simple (no multiple references to
BLOBs) you can just add an ON DELETE trigger to handle that.

Given that this model is close to what you're already doing, large
objects probably are the way to go.  Good luck with it.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: elein
Дата:
Сообщение: Re: Two joins on same foreign key
Следующее
От: Gary Stimson
Дата:
Сообщение: Re: [ANNOUNCE] Looking for mail relays ...