Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iVhMa-0007Y2-9s for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Nov 2019 19:34:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iVhMY-0004eE-Ct for pgsql-bugs@arkaria.postgresql.org; Fri, 15 Nov 2019 19:34:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iVhMY-0004e7-5H for pgsql-bugs@lists.postgresql.org; Fri, 15 Nov 2019 19:34:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iVhMV-00050k-2z for pgsql-bugs@lists.postgresql.org; Fri, 15 Nov 2019 19:34:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xAFJXRaB012718; Fri, 15 Nov 2019 14:33:27 -0500 From: Tom Lane 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 In-reply-to: <16118-ef1e45e342c52416@postgresql.org> References: <16118-ef1e45e342c52416@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Fri, 15 Nov 2019 19:14:33 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12716.1573846407.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Nov 2019 14:33:27 -0500 Message-ID: <12717.1573846407@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form 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.t= ab America/ Chile/ GB-Eire Iran NZ Singapore leapsecon= ds Antarctica/ Cuba GMT Israel NZ-CHAT Turkey posix/ Arctic/ EET GMT+0 Jamaica Navajo UCT posixrule= s 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-A7A= C0BDF8750%40pingpong.net#d457095d20f86a63ade61efa39a002c4