Re: WIP : change tablespace for a database

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP : change tablespace for a database
Date: 2008-10-25 21:41:03
Message-ID: 4903926F.9020909@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane a écrit :
> Guillaume Lelarge <guillaume(at)lelarge(dot)info> writes:
>> So, it seems to work. I say "seems" because there's no XLOG record that
>> says I moved all relations from one tablespace to another. Am I right in
>> thinking I need to insert a new XLOG record? should I create a new one?
>
> You certainly need to do *something* about that. But are you sure there
> aren't any existing record types that will work? Look at CREATE/DROP
> DATABASE.
>

You're right. I found what I needed. I will send my patch in a few moments.

Thanks a lot.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2008-10-25 21:50:47 Patch for ALTER DATABASE WITH TABLESPACE
Previous Message Dave Gudeman 2008-10-25 20:35:35 Re: Handling NULL records in plpgsql