Received: from portal.mwk.co.nz (IDENT:root@portal.mwk.co.nz [203.98.41.194]) by hub.org (8.9.3/8.9.3) with ESMTP id AAA21164 for ; Tue, 22 Jun 1999 00:27:26 -0400 (EDT) (envelope-from john@mwk.co.nz) Received: from Mr_Creosote (mr-creosote.mwk.co.nz [192.168.1.20]) by portal.mwk.co.nz (8.9.3/8.9.3) with SMTP id QAA22636; Tue, 22 Jun 1999 16:27:11 +1200 Message-ID: <005601bebc69$b235a280$1401a8c0@Mr_Creosote.MWK.co.nz> From: "John Huttley" To: "Tom Lane" Cc: "PGSQL-Interfaces" Subject: Re: [INTERFACES] libpq, large Objects Date: Tue, 22 Jun 1999 16:42:52 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 -----Original Message----- From: Tom Lane To: John Huttley Cc: PGSQL-Interfaces Date: Monday, 21 June 1999 11:30 Subject: Re: [INTERFACES] libpq, large Objects >"John Huttley" 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