]> granicus.if.org Git - postgresql/commit
Modernize zic's test for valid timezone abbreviations.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2016 19:58:44 +0000 (15:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 26 Mar 2016 19:59:26 +0000 (15:59 -0400)
commit8ea71fd2eaaa5e255bdd5badfd991000234cbb5a
tree14d4122dcbc573cdcf57689ca446163581c6730d
parent8e16592d4f56080b82ae15fea106f46ad331dc8d
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.
src/timezone/zic.c