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 1iWiE3-0007ZF-WC for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Nov 2019 14:42:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iWiE2-0002YN-I9 for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Nov 2019 14:41:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iWiE2-0002YF-6q for pgsql-bugs@lists.postgresql.org; Mon, 18 Nov 2019 14:41:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iWiDz-0002Is-F0 for pgsql-bugs@lists.postgresql.org; Mon, 18 Nov 2019 14:41:56 +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 xAIEfpNh028437; Mon, 18 Nov 2019 09:41:51 -0500 From: Tom Lane To: Thomas Munro cc: thushw@gmail.com, PostgreSQL mailing lists Subject: Re: BUG #16123: DST not respected for America/Sao_Paulo in `timestamp` function In-reply-to: References: <16123-a657804bf8eb791c@postgresql.org> Comments: In-reply-to Thomas Munro message dated "Mon, 18 Nov 2019 19:51:29 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28435.1574088111.1@sss.pgh.pa.us> Date: Mon, 18 Nov 2019 09:41:51 -0500 Message-ID: <28436.1574088111@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > On Mon, Nov 18, 2019 at 6:38 PM PG Bug reporting form > wrote: >> From Nov 3, America/Sao_Paulo should be offset only 2 hours from UTC due to >> DTS. I would expect the timestamp to be December 1st midnight. > I was going to reply with some details about how to find out whether > you're using timezone data files from PostgreSQL or macOS, and how to > make sure they're up-to-date in both cases, but now I see that my > computer (which has up-to-date tzdata) agrees with yours, and > Wikipedia claims that DST was cancelled this year by presidential > decree. Why do you think it's wrong? Indeed, the IANA timezone folks changed their entry in tzdata 2019b, on the strength of this: https://mm.icann.org/pipermail/tz/2019-April/027848.html and other nearby threads in that list archive. 2019b was released 2019-07-02, so any machine with reasonably up-to-date data should know about this. In the case of Postgres, we absorbed that change in the August minor releases. regards, tom lane