From: Tom Lane <tgl@sss.pgh.pa.us>
To: shurutov@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16214: Settings is not copy
Date: Fri, 17 Jan 2020 00:37:55 -0500
Message-ID: <4217.1579239475@sss.pgh.pa.us> (raw)
In-Reply-To: <16214-aee287cfd82762b4@postgresql.org>
References: <16214-aee287cfd82762b4@postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, shurutov@gmail.com
Subject: Re: BUG #16214: Settings is not copy
In-Reply-To: <4217.1579239475@sss.pgh.pa.us>
References: <16214-aee287cfd82762b4@postgresql.org> <4217.1579239475@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox