pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
OID type creates files that don't go away
2+ messages / 2 participants
[nested] [flat]

* OID type creates files that don't go away
@ 2001-01-24 01:30 David Wall <d.wall@computer.org>
  2001-01-24 18:25 ` Re: OID type creates files that don't go away Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 1 reply; 2+ messages in thread

From: David Wall @ 2001-01-24 01:30 UTC (permalink / raw)
  To: pgsql-admin

I've created several blobs using the OID type.  I note that the database
stores the "oid" number that represents two files on disk, such as xinv21281
and xinx21281 with the oid in the database showing up as 21281 via a SELECT.

But, I deleted a row that contained this oid, and the two 'x' files are
still on disk.  I then ran a VACUUM, saw that 1 record was reaped, but the
two 'x' files remain.  Are these 'x' files going to be reused in some
manner, or is this a bug that keeps them around despite the fact that the
database row for it has been removed?

David





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: OID type creates files that don't go away
  2001-01-24 01:30 OID type creates files that don't go away David Wall <d.wall@computer.org>
@ 2001-01-24 18:25 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephan Szabo @ 2001-01-24 18:25 UTC (permalink / raw)
  To: David Wall <d.wall@computer.org>; +Cc: pgsql-admin


I'm guessing you're using the Large Object interface?  AFAIR, The LO
interface doesn't automatically clean up after you so you have to make
triggers as necessary to deal with deletes.

On Tue, 23 Jan 2001, David Wall wrote:

> I've created several blobs using the OID type.  I note that the database
> stores the "oid" number that represents two files on disk, such as xinv21281
> and xinx21281 with the oid in the database showing up as 21281 via a SELECT.
> 
> But, I deleted a row that contained this oid, and the two 'x' files are
> still on disk.  I then ran a VACUUM, saw that 1 record was reaped, but the
> two 'x' files remain.  Are these 'x' files going to be reused in some
> manner, or is this a bug that keeps them around despite the fact that the
> database row for it has been removed?




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-01-24 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 01:30 OID type creates files that don't go away David Wall <d.wall@computer.org>
2001-01-24 18:25 ` Stephan Szabo <sszabo@megazone23.bigpanda.com>

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