pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nacho Caballero <nachocab@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Bug in tzdata 2022g
Date: Sat, 06 May 2023 10:50:25 -0400
Message-ID: <3940204.1683384625@sss.pgh.pa.us> (raw)
In-Reply-To: <CAF1W7uz4HcZkuo-c03F0siFQv951rosV79ahi5K4QPmc7f4KJw@mail.gmail.com>
References: <CAF1W7uz4HcZkuo-c03F0siFQv951rosV79ahi5K4QPmc7f4KJw@mail.gmail.com>

Nacho Caballero <nachocab@gmail.com> 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





view thread (3+ messages)  latest in thread

Message-ID: <3940204.1683384625@sss.pgh.pa.us>
Permalink:  ../3940204.1683384625@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3940204.1683384625@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nachocab@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Bug in tzdata 2022g
  In-Reply-To: <3940204.1683384625@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox