X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 258F811F623A for ; Wed, 26 Apr 2006 13:33:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 46509-08 for ; Wed, 26 Apr 2006 13:33:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id C112611F6237 for ; Wed, 26 Apr 2006 13:33:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k3QGXFFe018452; Wed, 26 Apr 2006 12:33:15 -0400 (EDT) To: Markus Schaber cc: PostgreSQL SQL List Subject: Re: Migrating a Database to a new tablespace In-reply-to: <444F2AF2.4070906@logix-tt.com> References: <4444D607.1000309@logix-tt.com> <444CA2F5.4030705@logix-tt.com> <444CA971.3000505@logix-tt.com> <444CB7C9.8060307@logix-tt.com> <20060425001553.GM64695@pervasive.com> <444E208C.20901@logix-tt.com> <19435.1145978379@sss.pgh.pa.us> <444E5359.5010704@logix-tt.com> <22840.1145988798@sss.pgh.pa.us> <444F2AF2.4070906@logix-tt.com> Comments: In-reply-to Markus Schaber message dated "Wed, 26 Apr 2006 10:10:26 +0200" Date: Wed, 26 Apr 2006 12:33:15 -0400 Message-ID: <18451.1146069195@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/181 X-Sequence-Number: 24990 Markus Schaber 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