create database ... template = ... does not copy configuration parameters values - Mailing list pgsql-bugs

From Alexey Bashtanov
Subject create database ... template = ... does not copy configuration parameters values
Date
Msg-id 5301C9F5.5010209@imap.cc
Whole thread Raw
Responses Re: create database ... template = ... does not copy configuration parameters values
Re: create database ... template = ... does not copy configuration parameters values
List pgsql-bugs
Hello!

There is a problem CREATE DATABASE does not copy configuration
parameters values:

[ACTIONS]
ui_dev_12=# create database bash_test;
CREATE DATABASE
ui_dev_12=# alter database bash_test set log_min_messages TO 'debug5';
ALTER DATABASE
ui_dev_12=# create database bash_test2 template = bash_test;
CREATE DATABASE
ui_dev_12=# \q
$ psql bash_test2
psql (9.3.1)
Type "help" for help.

bash_test2=# show log_min_messages;

[EXPECTED]
  log_min_messages
------------------
  debug5
(1 row)

[RECIEVED]
  log_min_messages
------------------
  warning
(1 row)

Please could you ether fix this behavior or at least describe current
behavior in docs.

Regards,
   Alexey Bashtanov

pgsql-bugs by date:

Previous
From: Karl-Philipp Richter
Date:
Subject: Re: BUG #9251: default values for fatal error logging in service
Next
From: Alexey Bashtanov
Date:
Subject: Re: create database ... template = ... does not copy configuration parameters values