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 1hYwRl-0005EA-UE for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Jun 2019 17:45:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hYwRk-000842-RN for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Jun 2019 17:45:04 +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 1hYwRk-000832-IX for pgsql-hackers@lists.postgresql.org; Thu, 06 Jun 2019 17:45:04 +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 1hYwRi-0006EU-A4 for pgsql-hackers@postgresql.org; Thu, 06 Jun 2019 17:45:04 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x56His9p017952; Thu, 6 Jun 2019 13:44:54 -0400 From: Tom Lane To: Andres Freund cc: Andrew Gierth , Christoph Berg , PostgreSQL Hackers Subject: Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.) In-reply-to: <20190606171850.ilssehzrvrrfuiqs@alap3.anarazel.de> References: <20190604085735.GD24018@msg.df7cb.de> <87ftop8gtr.fsf@news-spur.riddles.org.uk> <20190604164457.772invck3lgxk75s@alap3.anarazel.de> <5519.1559839890@sss.pgh.pa.us> <20190606171850.ilssehzrvrrfuiqs@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 06 Jun 2019 10:18:50 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5660.1559843094.1@sss.pgh.pa.us> Date: Thu, 06 Jun 2019 13:44:54 -0400 Message-ID: <5661.1559843094@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-06-06 12:51:30 -0400, Tom Lane wrote: >> Sure, that is intentionally a behavior change in this situation. >> The theory is that if "Etc/UCT" is what the user put in /etc/localtime, >> then that's the spelling she wants. See 23bd3cec6. > Right, I'm not complaining about that. I'm just noting that that > explains the cross-version divergence. It explains some cross-version divergence for sure. What I'm still not clear about is whether Christoph's report is entirely that, or whether there's some additional factor we don't understand yet. > As you can see the switch from Etc/UTC to UCT does happen here > (presumably in any branch before 12). Which did not happen before the > import of 2019a / when using a system tzdata that's before > that. Right. Before 2019a, UCT would not have been a match to a system setting of UTC because the zone abbreviation reported by localtime() was different. Now it's the same abbreviation. Maybe we should consider back-patching 23bd3cec6. regards, tom lane