Re: Should timezone be inherited from template database?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "Anton A(dot) Melnikov" <a(dot)melnikov(at)postgrespro(dot)ru>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Should timezone be inherited from template database?
Date: 2023-11-26 15:53:38
Message-ID: CAKFQuwZGxZZfTNUUobxdgi73HrSKoGNCJfW4a1G2a2d4J74X5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Nov 26, 2023 at 7:47 AM Anton A. Melnikov <a(dot)melnikov(at)postgrespro(dot)ru>
wrote:

>
> postgres=# ALTER DATABASE template1 SET TimeZone = 'UTC';
>
> Could you clarify please. Is this normal, predictable behavior?
>
>
https://www.postgresql.org/docs/current/sql-createdatabase.html

Database-level configuration parameters (set via ALTER DATABASE) and
database-level permissions (set via GRANT) are not copied from the template
database.

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Anton A. Melnikov 2023-11-26 16:02:28 Re: Should timezone be inherited from template database?
Previous Message Kirtika Gautam 2023-11-26 15:14:35 How to get started with contributions