Search Postgresql Archives

Re: How to delete Large Object from Database?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 07-Oct-05 20:13:36 pm >>>
Moises Alberto Lindo Gutarra <mlindo@xxxxxxxxx> 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux