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

From Tom Lane
Subject Re: WIP : change tablespace for a database
Date
Msg-id 6984.1224893274@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP : change tablespace for a database  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: WIP : change tablespace for a database
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Decibel!
Date:
Subject: Handling NULL records in plpgsql
Next
From: Tom Lane
Date:
Subject: Re: Handling NULL records in plpgsql