Thread: dropping large objects

dropping large objects

From
James Leigh
Date:
I am trying to use large objects in postgresql C interface.  I can
import and export the large objects based on the oid, but how to I
delete a large object?

thanks,
james


Re: dropping large objects

From
Doug McNaught
Date:
James Leigh <james.leigh@ottawa.com> writes:

> I am trying to use large objects in postgresql C interface.  I can
> import and export the large objects based on the oid, but how to I
> delete a large object?

lo_unlink()?

-Doug
--
Doug McNaught       Wireboard Industries      http://www.wireboard.com/

      Custom software development, systems and network consulting.
      Java PostgreSQL Enhydra Python Zope Perl Apache Linux BSD...

Re: dropping large objects [ in 6.5 ]

From
James Leigh
Date:
what about version 6.4.2?  does it have lo_unlink?  in the docs for 6.5
it does not talk about lo_unlink.

james

On Tue, 2002-04-02 at 12:06, Doug McNaught wrote:
> James Leigh <james.leigh@ottawa.com> writes:
>
> > I am trying to use large objects in postgresql C interface.  I can
> > import and export the large objects based on the oid, but how to I
> > delete a large object?
>
> lo_unlink()?
>
> -Doug