Re: WIP : change tablespace for a database - Mailing list pgsql-hackers

From Guillaume Lelarge
Subject Re: WIP : change tablespace for a database
Date
Msg-id 4903926F.9020909@lelarge.info
Whole thread Raw
In response to Re: WIP : change tablespace for a database  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane a écrit :
> Guillaume Lelarge <guillaume@lelarge.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.orghttp://dalibo.com


pgsql-hackers by date:

Previous
From: "Dave Gudeman"
Date:
Subject: Re: Handling NULL records in plpgsql
Next
From: Guillaume Lelarge
Date:
Subject: Patch for ALTER DATABASE WITH TABLESPACE