| From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
| Cc: | nat(at)makarevitch(dot)org |
| Subject: | TIMEZONE names |
| Date: | 2021-06-12 15:21:31 |
| Message-ID: | 162351129153.14472.70810183330436056@wrigleys.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
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
Thank you.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2021-06-12 19:44:04 | Re: TIMEZONE names |
| Previous Message | PG Doc comments form | 2021-06-12 03:59:33 | Clarification needed |