Re: Deleting loid from the database

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: "Md(dot)Abdul Aziz" <aziz(at)students(dot)iiit(dot)net>, postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Deleting loid from the database
Date: 2006-03-05 13:54:02
Message-ID: 440AED7A.6070209@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

contrib/vacuumlo perhaps?

Michael Fuhr wrote:
> On Sat, Mar 04, 2006 at 12:08:52PM +0530, Md.Abdul Aziz wrote:
>> I am a presently working on a module which enhances postgre to
>> store audio files,while storing the aduido file in the databese i used
>> liod,now the problem is i am able to unlink but still the data is
>> present in the postgre database.can some one suggest me how to delete (not
>> unlink) large objects from the postgre databse.
>
> "VACUUM FULL pg_largeobject" might be what you're looking for, but
> if you're going to reload the data then an ordinary VACUUM (without
> FULL) will free the space for re-use by PostgreSQL without shrinking
> the file (unless the table has no live tuples, in which case the
> file size will be zeroed).
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-03-05 15:06:07 Re: Copyright
Previous Message mark 2006-03-05 13:30:55 Re: Copyright