pgsql: Modernize zic's test for valid timezone abbreviations.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modernize zic's test for valid timezone abbreviations.
Date: 2016-03-26 20:00:07
Message-ID: E1ajuNT-0006pS-Kt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Modernize zic's test for valid timezone abbreviations.

We really need to sync all of our IANA-derived timezone code with upstream,
but that's going to be a large patch and I certainly don't care to shove
such a thing into stable branches immediately before a release. As a
stopgap, copy just the tzcode2016c logic that checks validity of timezone
abbreviations. This prevents getting multiple "time zone abbreviation
differs from POSIX standard" bleats with tzdata 2014b and later.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/221619ad69b7e060041796a1974fbb0eeb9542d7

Modified Files
--------------
src/timezone/zic.c | 25 +++++--------------------
1 file changed, 5 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-03-26 23:28:03 pgsql: First-draft release notes for 9.5.2.
Previous Message Tom Lane 2016-03-26 16:03:18 pgsql: Avoid a couple of zero-divide scenarios in the planner.