pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Huttley <john@mwk.co.nz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PGSQL-Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: [INTERFACES] libpq, large Objects
Date: Tue, 22 Jun 1999 16:42:52 +1200
Message-ID: <005601bebc69$b235a280$1401a8c0@Mr_Creosote.MWK.co.nz> (raw)


-----Original Message-----
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John Huttley <john@mwk.co.nz>
Cc: PGSQL-Interfaces <pgsql-interfaces@postgreSQL.org>
Date: Monday, 21 June 1999 11:30
Subject: Re: [INTERFACES] libpq, large Objects


>"John Huttley" <john@mwk.co.nz> writes:
>> How do you destroy a large_object?
>
>lo_unlink(oid_of_large_object)


Thanks


>> AFAIK, the only way to do it is to put its OID into a tuple in a table
and
>> then delete that tuple.
>
>AFAIK, that will *not* remove the LO, just the referencing tuple ...
>




Thats pretty weird. Would Vaccum detect and remove orphaned OID's?

Regards






view thread (5+ messages)  latest in thread

Message-ID: <005601bebc69$b235a280$1401a8c0@Mr_Creosote.MWK.co.nz>
Permalink:  ../005601bebc69$b235a280$1401a8c0@Mr_Creosote.MWK.co.nz/
Also on:    postgresql.org/message-id/005601bebc69$b235a280$1401a8c0@Mr_Creosote.MWK.co.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: john@mwk.co.nz, tgl@sss.pgh.pa.us
  Subject: Re: [INTERFACES] libpq, large Objects
  In-Reply-To: <005601bebc69$b235a280$1401a8c0@Mr_Creosote.MWK.co.nz>
  References: <005601bebc69$b235a280$1401a8c0@Mr_Creosote.MWK.co.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox