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: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-06-18T20:28:33Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> You could consider something along the lines of:

> This form specifies a transition that always happens during the same
> month and on the same day of the week. m identifies the month, from 1
> to 12. n specifies the n'th occurrence of the day number identified by
> d. n is a value between 1 and 4, or 5 meaning the last occurrence of
> that weekday in the month (which could be the fourth or the fifth). d
> is a value between 0 and 6, with 0 indicating Sunday.

Adopted with some minor tweaks.  Thanks for the suggestion!

			regards, tom lane



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