Re: How to delete Large Object from Database?

From: "Premsun Choltanwanich" <Premsun(at)nsasia(dot)co(dot)th>
To: "Douglas McNaught" <doug(at)mcnaught(dot)org>
Cc: "Moises Alberto Lindo Gutarra" <mlindo(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to delete Large Object from Database?
Date: 2005-10-11 02:12:51
Message-ID: 434B8212.C5F7.004C.0@nsasia.co.th
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Excuse me, How? I try to find the way but not found.

>>> Douglas McNaught <doug(at)mcnaught(dot)org> 10-Oct-05 20:07:57 pm >>>
"Premsun Choltanwanich" <Premsun(at)nsasia(dot)co(dot)th> writes:

> 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.

It's exactly what you want--it removes a LO with the specified OID
from the large object table. The 'contrib/lo' interface is just a thin
wrapper around the base LO calls.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-10-11 02:59:03 Re: Dumb question about serial's upper limit
Previous Message Tom Lane 2005-10-11 02:10:26 Re: PostgreSQL's bug tracker