pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Markus Schaber <schabi@logix-tt.com>
Cc: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: Migrating a Database to a new tablespace
Date: Thu, 27 Apr 2006 00:38:28 -0500
Message-ID: <20060427053827.GA97354@pervasive.com> (raw)
In-Reply-To: <200604261635.k3QGZdB06325@candle.pha.pa.us>
References: <18451.1146069195@sss.pgh.pa.us>
	<200604261635.k3QGZdB06325@candle.pha.pa.us>

On Wed, Apr 26, 2006 at 12:35:39PM -0400, Bruce Momjian wrote:
> 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.

Is it able to also delete the cruft? Seems to be a useful extension,
especially on windows, which AFAIK doesn't have an equivalent to ``.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (16+ messages)  latest in thread

Message-ID: <20060427053827.GA97354@pervasive.com>
Permalink:  ../20060427053827.GA97354@pervasive.com/
Also on:    postgresql.org/message-id/20060427053827.GA97354@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jnasby@pervasive.com, pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, schabi@logix-tt.com
  Subject: Re: Migrating a Database to a new tablespace
  In-Reply-To: <20060427053827.GA97354@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox