Re: Cleaning up unreferenced table files - Mailing list pgsql-patches

From Heikki Linnakangas
Subject Re: Cleaning up unreferenced table files
Date
Msg-id Pine.OSF.4.61.0503060824320.1725@kosh.hut.fi
Whole thread Raw
In response to Re: Cleaning up unreferenced table files  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Cleaning up unreferenced table files
List pgsql-patches
On Sat, 5 Mar 2005, Tom Lane wrote:

> Heikki Linnakangas <hlinnaka@iki.fi> writes:
>> Here's a patch for the TODO item "Remove unreferenced table files created by transactions
>> that were in-progress when the server terminated abruptly."
>
> xlog.c is a fairly random place to put that functionality.  Didn't it
> strike any warning bells for you when you had to add so many new
> #includes?  I'm not entirely sure where this should go, but not there.

Yeah actually it did, but I forgot about it along the way. How about
putting it in a file of its own in backend/catalog? There's some code that
also deals with the data directories. Or straight into backend/storage.

- Heikki

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Cleaning up unreferenced table files
Next
From: Neil Conway
Date:
Subject: Re: Display Pg buffer cache (WIP)