From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Palle Girgensohn <girgen@pingpong.net>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Chris Withers <chris@withers.org>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: pgsql@freebsd.org <pgsql@freebsd.org>
Subject: Re: here does postgres take its timezone information from?
Date: Wed, 13 Nov 2019 09:41:08 -0500
Message-ID: <4824.1573656068@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+hUKGKDn_eeLHrrtO6N-wQCcGwYefU8j+Qar=h4+wAoUhiBNg@mail.gmail.com>
References: <653e0b33-84d7-642b-2692-eb68e5f86709@withers.org>
<4cfd4b1b-5135-6329-5cf7-bae73929dfeb@aklaver.com>
<0589cad7-4841-afbd-8cc6-c4b050ca466c@withers.org>
<0b76a023-3fdf-cb61-f4c3-a8ff4ba5b4e9@aklaver.com>
<CA+hUKGLmEZU=FeSUWsci_DUASu4Pcx0qHa8=FDybHeXWqR8v4g@mail.gmail.com>
<18417.1573003209@sss.pgh.pa.us>
<CA+hUKGKuR++af7bRCNvH_sBrKRUxGf+R=kD2LAGaQYE4Ba7sfQ@mail.gmail.com>
<E8B887D2-D5A8-4217-ADD6-A7AC0BDF8750@pingpong.net>
<CA+hUKGKDn_eeLHrrtO6N-wQCcGwYefU8j+Qar=h4+wAoUhiBNg@mail.gmail.com>
Thomas Munro <thomas.munro@gmail.com> writes:
> FreeBSD users already have the choice between zoneinfo from base or
> the misc/zoneinfo port if for some reason they want to control tzdata
> updates separately. PostgreSQL and FreeBSD both track tzdata closely,
> and both pushed a commit for version 2019c into their stable branches
> within a couple of weeks of it being released, so I don't foresee any
> problem with this change, and staying in sync with libc seems to
> outweigh any other concerns IMHO.
Note that the normal situation, on a platform with a well-maintained
tzdata package, is that tzdata acquired via Postgres is going to lag
behind. That's because we don't ship tzdata updates until our next
quarterly release, while the OS vendor probably has a much more
streamlined process for package updates.
In the case of 2019c, I pushed it into our code while it was still
pretty fresh, because it was just a few days to 12rc1 and I thought
the RC should contain the latest tzdata. But usually we only bother
to sync from tzdata upstream when a quarterly release is impending.
In theory, it's possible that a tzdata update could break Postgres.
But it'd probably break a lot of other code too. In practice, the
IANA people are well aware of that hazard, so there is a *long*
delay between when they introduce a new tzcode feature and when
they're willing to start relying on it in tzdata. We try to stay
fairly current on our copy of tzcode, so that should only be a live
hazard for out-of-support Postgres branches.
(I was reminded of this just the other day when I had occasion
to run the 9.2 regression tests, and they failed because of a
no-longer-valid assumption about Venezuelan time. I should
rebuild that legacy installation without --with-system-tzdata,
I guess, so that it uses tzdata it's expecting.)
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, thomas.munro@gmail.com, girgen@pingpong.net, adrian.klaver@aklaver.com, chris@withers.org, pgsql@freebsd.org
Subject: Re: here does postgres take its timezone information from?
In-Reply-To: <4824.1573656068@sss.pgh.pa.us>
References: <653e0b33-84d7-642b-2692-eb68e5f86709@withers.org> <4cfd4b1b-5135-6329-5cf7-bae73929dfeb@aklaver.com> <0589cad7-4841-afbd-8cc6-c4b050ca466c@withers.org> <0b76a023-3fdf-cb61-f4c3-a8ff4ba5b4e9@aklaver.com> <CA+hUKGLmEZU=FeSUWsci_DUASu4Pcx0qHa8=FDybHeXWqR8v4g@mail.gmail.com> <18417.1573003209@sss.pgh.pa.us> <CA+hUKGKuR++af7bRCNvH_sBrKRUxGf+R=kD2LAGaQYE4Ba7sfQ@mail.gmail.com> <E8B887D2-D5A8-4217-ADD6-A7AC0BDF8750@pingpong.net> <CA+hUKGKDn_eeLHrrtO6N-wQCcGwYefU8j+Qar=h4+wAoUhiBNg@mail.gmail.com> <4824.1573656068@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