Re: BUG #16214: Settings is not copy - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16214: Settings is not copy
Date
Msg-id 4217.1579239475@sss.pgh.pa.us
Whole thread Raw
In response to BUG #16214: Settings is not copy  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Than I made copy as "CREATE DATABASE demo_small template demo", after this I
> noticed:
> ...
> Parameter "search_path" was not copied.

CREATE DATABASE is not defined to copy database-level properties,
only the contents of the database.  As it says in the manual,
this is not really intended as a general-purpose database copying
command in the first place.  For its intended purpose, copying
database-level properties wouldn't be particularly desirable.
Certainly you wouldn't want it to clone the database's ownership
or ACL.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL/PostgreSQL - Error observed in the QUERY not caught by the “EXCEPTION” block in the stored procedure
Next
From: Michael Paquier
Date:
Subject: Re: libpq parameter parsing problem