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: pgsql-hackers@lists.postgresql.org
Date: 2020-06-18T04:26:04Z
Lists: pgsql-hackers

Attachments

I wrote:
> The minimum thing that we have to do, I'd say, is to change the
> documentation to explain what happens if there's no posixrules file.

Here's a proposed patch to do that.  To explain this, we more or less
have to fully document the POSIX timezone string format (otherwise
nobody's gonna understand what "M3.2.0,M11.1.0" means).  That's something
we've glossed over for many years, and I still feel like it's not
something to explain in-line in section 8.5.3, so I shoved all the gory
details into a new section in Appendix B.  To be clear, nothing here is
new behavior, it was just undocumented before.

			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