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