Re: How to delete Large Object from Database?

Поиск
Список
Период
Сортировка
От Premsun Choltanwanich
Тема Re: How to delete Large Object from Database?
Дата
Msg-id 434A8F53.C5F7.004C.0@nsasia.co.th
обсуждение исходный текст
Ответ на Re: How to delete Large Object from Database?  (Douglas McNaught <doug@mcnaught.org>)
Ответы Re: How to delete Large Object from Database?  (Douglas McNaught <doug@mcnaught.org>)
Список pgsql-general
The lib I use is call lo_in and lo_out for manage BLOB.
I understand that lo_unlink be related with lo_import and lo_export so I don't think that it work.
 

>>> Douglas McNaught <doug@mcnaught.org> 07-Oct-05 20:13:36 pm >>>
Moises Alberto Lindo Gutarra <mlindo@gmail.com> writes:

> try:   delete from pg_catalog.pg_largeobject;
> from your database.

Umm, the standard way to do this is lo_unlink().  You can put an
ON DELETE trigger on your referencing table that calls this function.

-Doug

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

Предыдущее
От: Hannes Dorbath
Дата:
Сообщение: Re: INSERT OR UPDATE?
Следующее
От: "Premsun Choltanwanich"
Дата:
Сообщение: Re: How to delete Large Object from Database?