Re: Cleaning up unreferenced table files

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Cleaning up unreferenced table files
Date: 2005-03-06 06:50:50
Message-ID: Pine.OSF.4.61.0503060824320.1725@kosh.hut.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Sat, 5 Mar 2005, Tom Lane wrote:

> Heikki Linnakangas <hlinnaka(at)iki(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-03-06 08:13:17 Re: Display Pg buffer cache (WIP)
Previous Message Tom Lane 2005-03-05 23:36:25 Re: Cleaning up unreferenced table files