From: Tom Lane <tgl@sss.pgh.pa.us>
To: ars.na6mg@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16118: subsequent to Postgres server 12.1 patch, database won't start
Date: Fri, 15 Nov 2019 14:33:27 -0500
Message-ID: <12717.1573846407@sss.pgh.pa.us> (raw)
In-Reply-To: <16118-ef1e45e342c52416@postgresql.org>
References: <16118-ef1e45e342c52416@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> $ pg_ctl -D data12 start
> waiting for server to start....2019-11-15 19:02:46.630 GMT [77092] LOG:
> invalid value for parameter "log_timezone": "US/Pacific"
> 2019-11-15 19:02:46.630 GMT [77092] LOG: invalid value for parameter
> "TimeZone": "US/Pacific"
Hm. Setting timezone to 'US/Pacific' still works fine for me;
this must have been an external change.
Seeing that you're on FreeBSD ... I believe that the FreeBSD
postgresql package maintainer switched that package to use FreeBSD's
standard timezone database instead of the one shipped with Postgres,
as of 12.1 [1]. And a quick look into /usr/share/zoneinfo on a nearby
FreeBSD box shows that it's got a much more limited set of zone names
than an IANA-standard timezone database:
$ ls /usr/share/zoneinfo/
Africa/ Australia/ Etc/ MST WET
America/ CET Europe/ MST7MDT posixrules
Antarctica/ CST6CDT Factory PST8PDT zone.tab
Arctic/ EET HST Pacific/
Asia/ EST Indian/ SystemV/
Atlantic/ EST5EDT MET UTC
For comparison, a nearby RHEL machine has
$ ls /usr/share/zoneinfo/
Africa/ Canada/ GB Indian/ Mexico/ ROK iso3166.tab
America/ Chile/ GB-Eire Iran NZ Singapore leapseconds
Antarctica/ Cuba GMT Israel NZ-CHAT Turkey posix/
Arctic/ EET GMT+0 Jamaica Navajo UCT posixrules
Asia/ EST GMT-0 Japan PRC US/ right/
Atlantic/ EST5EDT GMT0 Kwajalein PST8PDT UTC tzdata.zi
Australia/ Egypt Greenwich Libya Pacific/ Universal zone.tab
Brazil/ Eire HST MET Poland W-SU zone1970.tab
CET Etc/ Hongkong MST Portugal WET
CST6CDT Europe/ Iceland MST7MDT ROC Zulu
which I believe is an unmodified copy of the IANA data.
So really your question ought to be directed to whoever packages
tzdata for FreeBSD, and it is "why don't they ship the full IANA
zone set?" But in the meantime, it looks like America/Los_Angeles
should work for you.
regards, tom lane
[1] https://www.postgresql.org/message-id/flat/E8B887D2-D5A8-4217-ADD6-A7AC0BDF8750%40pingpong.net#d4570...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, ars.na6mg@gmail.com
Subject: Re: BUG #16118: subsequent to Postgres server 12.1 patch, database won't start
In-Reply-To: <12717.1573846407@sss.pgh.pa.us>
References: <16118-ef1e45e342c52416@postgresql.org> <12717.1573846407@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox