Re: Database properties not being duplicated

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ben Trewern" <ben(dot)trewern(at)_nospam_mowlem(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Database properties not being duplicated
Date: 2005-05-06 15:47:41
Message-ID: 14998.1115394461@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Ben Trewern" <ben(dot)trewern(at)_nospam_mowlem(dot)com> writes:
> If I have one database say db1 and then do:
> ALTER DATABASE db1 SET DateStyle=iso, dmy;
> Then do
> CREATE DATABASE db2 TEMPLATE db1;
> the DateStyle does not get carried accross to the new database. Is this a
> bug?

No, not in my view. We don't propagate any of the other pg_database
columns (eg, name, owner, permissions) either.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenneth Marshall 2005-05-06 16:00:18 Re: State of Kerberos v4 support
Previous Message Marc G. Fournier 2005-05-06 15:44:28 Re: pgFoundry