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

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

From
Tom Lane
Date:
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
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/12aa56d4d629addbe9cfdb578a3255288eded319

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