Re: TIMEZONE names

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: nat(at)makarevitch(dot)org, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: TIMEZONE names
Date: 2021-06-12 19:49:39
Message-ID: CAKFQuwa5HfZjpk3AgkLhVBSe2V5YnRMiZVLCoT0TEc2V9pbqqA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sat, Jun 12, 2021, 12:28 PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/13/datatype-datetime.html
> Description:
>
> The documentation states that some timezone names are recognized. As far
> as
> I understand others aren't.
>
> This seems to be true:
> $psql postgres -c "set TIMEZONE='bug' ; show timezone;"
> ERROR: invalid value for parameter "TimeZone": "bug"
> $ echo $?
> 1
>
> However adding a correct numerical offset leads Postgresql to accept a
> non-existing timezone name:
> $ psql postgres -c "set TIMEZONE='bug-1' ; show timezone;"
> $ echo $?
> 0
>

That would be the Appendix B material the documentation is referencing.

David J.

>

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Dean Gibson (DB Administrator) 2021-06-13 01:23:15 Re: Clarification needed
Previous Message David G. Johnston 2021-06-12 19:48:25 Re: Cities name column name inconsistent