Re: How to delete Large Object from Database?

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: Moises Alberto Lindo Gutarra <mlindo(at)gmail(dot)com>
Cc: Premsun Choltanwanich <Premsun(at)nsasia(dot)co(dot)th>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to delete Large Object from Database?
Date: 2005-10-07 13:13:36
Message-ID: m27jcpzczj.fsf@Douglas-McNaughts-Powerbook.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Moises Alberto Lindo Gutarra <mlindo(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message han.holl 2005-10-07 13:21:53 How to inject knowledge into a Postgres database
Previous Message Douglas McNaught 2005-10-07 13:11:46 Re: PostgreSQL 8.1 vs. MySQL 5.0?