Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFiY1-0002SU-Pq for pgsql-admin@arkaria.postgresql.org; Fri, 17 Nov 2017 15:27:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eFiY0-0000EO-RT for pgsql-admin@arkaria.postgresql.org; Fri, 17 Nov 2017 15:27:16 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eFiW6-0005M7-Ev for pgsql-admin@postgresql.org; Fri, 17 Nov 2017 15:25:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eFiW1-0003Op-4c for pgsql-admin@postgresql.org; Fri, 17 Nov 2017 15:25:17 +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 vAHFPBbH022951; Fri, 17 Nov 2017 10:25:11 -0500 From: Tom Lane To: Don Seiler cc: pgsql-admin Subject: Re: FATAL: invalid value for parameter "TimeZone" after upgrade from 9.2 to 9.6 In-reply-to: References: Comments: In-reply-to Don Seiler message dated "Fri, 17 Nov 2017 09:07:55 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22949.1510932311.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 17 Nov 2017 10:25:11 -0500 Message-ID: <22950.1510932311@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Don Seiler writes: > My issue is more or less similar to > http://www.postgresql-archive.org/Upgrading-from-PG-8-3-3-to-9-3-4-FATAL-= invalid-value-for-parameter-quot-TimeZone-quot-quot-PST-quot-td5805665.html > However what I'm looking to answer is why this wasn't fatal in 9.2? It was. I don't think PG has ever accepted just "PST" (or "CDT") as a timezone name. There's no such entry in the IANA tz database, and it's not a legal POSIX zone specification --- you'd need at least "PST8" for it to go through that code path. I tried it just now on 7.4.30, which is the oldest version I have on this machine (about 2 years older than 9.2.0) and it failed as expected: regression=3D# set timezone =3D 'PST'; ERROR: unrecognized time zone name: "PST" Now, it's barely conceivable that you strong-armed 9.2 into accepting it by making a file or symlink named "PST" in the timezone database directory of the old installation ... but otherwise, I'm quite certain it would not have taken it. regards, tom lane --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin