Re: Migrating a Database to a new tablespace - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: Migrating a Database to a new tablespace
Date
Msg-id 200604261635.k3QGZdB06325@candle.pha.pa.us
Whole thread Raw
In response to Re: Migrating a Database to a new tablespace  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Migrating a Database to a new tablespace
Re: Migrating a Database to a new tablespace
List pgsql-sql
Tom Lane wrote:
> Markus Schaber <schabi@logix-tt.com> writes:
> > As I said the leftovers are likely to be caused by hard kills and
> > backend crashes, so I would not go into deeper analysis, but maybe the
> > finding and possibly removing of such leftovers should be half-automated
> > to assist server admins.
> 
> It's been discussed.  Personally I'm afraid of the idea of automatically
> deleting files that seem unreferenced, but having a tool to find them
> for manual deletion isn't a bad idea.  I think Bruce had a prototype
> patch at one point --- not sure what the status is.
> 

I have work someone did in the past.  I just need to be updated to deal
with tablespaces.
ftp://candle.pha.pa.us/pub/postgresql/mypatches/checkfile.*

Let me know if you want details.

--  Bruce Momjian   http://candle.pha.pa.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Migrating a Database to a new tablespace
Next
From: "Ray Madigan"
Date:
Subject: Re: LinkedList