Re: Migrating a Database to a new tablespace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Schaber <schabi(at)logix-tt(dot)com>
Cc: PostgreSQL SQL List <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Migrating a Database to a new tablespace
Date: 2006-04-27 15:06:09
Message-ID: 11235.1146150369@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Markus Schaber <schabi(at)logix-tt(dot)com> writes:
> Bruce Momjian wrote:
>> 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.*

> It looks nice, but I would not like automatic deletion (or only optional
> or configurable), there might be valid reasons for "alien" files to
> exist. (README files for admins to communicate what this directory is
> used for, MacOS ressource forks, Reiser4 special files etc...)

> What about putting the identification code in a set returning function
> or view that can be called by the admin.

Yeah, one thing I never liked about the previously proposed patches was
that they were tied to postmaster start/restart. It'd be better to have
an external tool that could be invoked on demand. Maybe something close
to oid2name.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Mario Splivalo 2006-04-27 15:43:32 INSERTing values from usertypes how-to?
Previous Message Andrew Sullivan 2006-04-27 14:35:33 Re: any one can help me how to get multiple rows in postgresql using arrays in functions