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

From Tom Lane
Subject Re: Migrating a Database to a new tablespace
Date
Msg-id 18451.1146069195@sss.pgh.pa.us
Whole thread Raw
In response to Re: Migrating a Database to a new tablespace  (Markus Schaber <schabi@logix-tt.com>)
Responses Re: Migrating a Database to a new tablespace  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Migrating a Database to a new tablespace  (Markus Schaber <schabi@logix-tt.com>)
List pgsql-sql
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.
        regards, tom lane


pgsql-sql by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: LinkedList
Next
From: Bruce Momjian
Date:
Subject: Re: Migrating a Database to a new tablespace