Re: How to delete Large Object from Database? - Mailing list pgsql-general

From Douglas McNaught
Subject Re: How to delete Large Object from Database?
Date
Msg-id m27jcpzczj.fsf@Douglas-McNaughts-Powerbook.local
Whole thread Raw
In response to Re: How to delete Large Object from Database?  (Moises Alberto Lindo Gutarra <mlindo@gmail.com>)
Responses Re: How to delete Large Object from Database?  ("Premsun Choltanwanich" <Premsun@nsasia.co.th>)
List pgsql-general
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 by date:

Previous
From: Douglas McNaught
Date:
Subject: Re: PostgreSQL 8.1 vs. MySQL 5.0?
Next
From: han.holl@informationslogik.nl
Date:
Subject: How to inject knowledge into a Postgres database