Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvJF4-00058u-Im for pgsql-bugs@arkaria.postgresql.org; Sat, 06 May 2023 14:50:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pvJF3-0000lG-EY for pgsql-bugs@arkaria.postgresql.org; Sat, 06 May 2023 14:50:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pvJF3-0000ky-6N for pgsql-bugs@lists.postgresql.org; Sat, 06 May 2023 14:50:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pvJEy-000xVN-Om for pgsql-bugs@lists.postgresql.org; Sat, 06 May 2023 14:50:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 346EoPtX3940205; Sat, 6 May 2023 10:50:25 -0400 From: Tom Lane To: Nacho Caballero cc: pgsql-bugs@lists.postgresql.org Subject: Re: Bug in tzdata 2022g In-reply-to: References: Comments: In-reply-to Nacho Caballero message dated "Sat, 06 May 2023 10:35:30 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3940203.1683384625.1@sss.pgh.pa.us> Date: Sat, 06 May 2023 10:50:25 -0400 Message-ID: <3940204.1683384625@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nacho Caballero writes: > There appears to be a bug in the latest postgres release, which uses tzdata > 2022g to reflect the recent DST change in Mexico. I see no bug here. America/Mexico_City is reported as being -06 all year round, which agrees with what the tzdb commentary says: # From Paul Eggert (2022-10-28): # The new Mexican law was published today: # https://www.dof.gob.mx/nota_detalle.php?codigo=5670045&fecha=28/10/2022 # This abolishes DST except where US DST rules are observed, # and in addition changes all of Chihuahua to -06 with no DST. Meanwhile, Bogota has been -05 year-round since the nineties. If you disagree with either of these conclusions, you had better provide some solid evidence to back it up; and the place to be complaining to is the tzdata maintainers, not us. > However, when I run it in PostgreSQL 12.10 (Ubuntu 12.10-1.pgdg20.04+1), I > get the right answer (no time difference): Apparently, your PG 12.10 installation is using some pre-2022f version of tzdata. Mexico didn't abolish DST until late last year. regards, tom lane