Re: pg_dump and schema names - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_dump and schema names
Date
Msg-id 52090D2A.1000600@gmx.net
Whole thread Raw
In response to pg_dump and schema names  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pg_dump and schema names  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On 8/9/13 12:04 AM, Bruce Momjian wrote:
> generates this output:
> 
>     SET search_path = xx, pg_catalog;
>     CREATE TABLE test (
>         x integer
>     );
> 
> If you dump a schema and want to reload it into another schema, you
> should only need to update that one search_path line.

Is anyone actually using that feature?  It doesn't seem very reliable.
You can't just change the schema name in one or two places.  You'd have
to manually inspect function source code, for example.




pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: killing pg_dump leaves backend process
Next
From: Peter Eisentraut
Date:
Subject: Re: question about HTTP API