Hi,
When you do this:
CREATE DATABASE test TEMPLATE master;
It doesn't copy any per-database GUC variables, created by the ALTER DATABASE master SET var TO val; command.
Should it?
Chris