Re: More tzdb fun: POSIXRULES is being deprecated upstream

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-06-22T20:01:22Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> It might be nice to know what
> Debian, RHEL, etc. plan to do about this, but I'm not sure how
> practical it is to find out.

By luck, we now have a moderately well-educated guess about that
from Paul Eggert himself [1]:

: Probably NetBSD will go first as they tend to buy these changes
: quickly; maybe six months from now? Debian and RHEL probably a couple
: of years. These are all just guesses.

Based on that, I'd say that assuming v12 and earlier won't have to deal
with this issue does indeed amount to sticking our heads in the sand.

I don't intend to do anything about this until this week's beta wrap
cycle is complete, but I'm still leaning to the idea that we ought to
back-patch something.  Maybe the "something" could be less than a
full posixrules-ectomy, but I'm not really satisfied with any of the
other alternatives I've thought about.

			regards, tom lane

[1] https://www.postgresql.org/message-id/9d8b5ec4-7094-04f6-d270-db0198d09bd1%40cs.ucla.edu



Commits

  1. Remove support for timezone "posixrules" file.

  2. Future-proof regression tests against possibly-missing posixrules file.

  3. Doc: document POSIX-style time zone specifications in full.

  4. Please find attached diffs for documentation and simple regression