Re: tablespace and sequences? - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: tablespace and sequences?
Date
Msg-id Pine.LNX.4.58.0408181012110.30419@sablons.cri.ensmp.fr
Whole thread Raw
In response to Re: tablespace and sequences?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: tablespace and sequences?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
> > I'm not thinking about pg_dumpall but pg_dump/pg_restore.
>
> Tablespaces are dumped by pg_dumpall, not pg_dump.

If so, indeed it would be a non-issue. However,

shell> pg_dump coelho | grep TABLESPACE
CREATE SCHEMA test AUTHORIZATION coelho TABLESPACE test;

"TABLESPACE" appears in a basic pg_dump SQL output. If the test tablespace
does not exist, the command will fail, and so my whole restoration.

Thus I still stick to my opinion;-)

Have a nice day,

-- 
Fabien Coelho - coelho@cri.ensmp.fr


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [ADMIN] SRPM for 8.0.0 beta?
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: tablespace and sequences?