Re: File leak? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: File leak?
Date
Msg-id 200406121838.i5CIcT208773@candle.pha.pa.us
Whole thread Raw
In response to Re: File leak?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Heikki Linnakangas <hlinnaka@iki.fi> writes:
> > I wonder if we could clean up those lost files on database recovery or
> > vacuum.
> 
> There is a TODO for this, but it seems exceedingly low priority to me.
> 
> In any case I'd not recommend troubling to work on the problem until
> the tablespaces merry-go-round comes to a complete stop, since that
> restructuring will likely change what you'd need to do to identify
> unreferenced files.

Agreed on the need to wait until after tablespaces. I have an old patch
that does lookups on postmaster start to check for unreferenced files,
but it wasn't perfect.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: "Carl E. McMillin"
Date:
Subject: Re: I just got it: PostgreSQL Application Server -- a new project.
Next
From: Jan Wieck
Date:
Subject: Re: Why frequently updated tables are an issue