From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix bogus logic for zic -P option. |
Date: | 2014-10-03 18:48:58 |
Message-ID: | E1Xa7uU-0006Ul-Hr@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix bogus logic for zic -P option.
The quick hack I added to zic to dump out currently-in-use timezone
abbreviations turns out to have a nasty bug: within each zone, it was
printing the last "struct ttinfo" to be *defined*, not necessarily the
last one in use. This was mainly a problem in zones that had changed the
meaning of their zone abbreviation (to another GMT offset value) and later
changed it back.
As a result of this error, we'd missed out updating the tznames/ files
for some jurisdictions that have changed their zone abbreviations since
the tznames/ files were originally created. I'll address the missing data
updates in a separate commit.
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/03163139c9553c6ee4c26a73e21aaef5da22be45
Modified Files
--------------
src/timezone/zic.c | 33 ++++++++++++++++++---------------
1 file changed, 18 insertions(+), 15 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2014-10-03 20:33:20 | pgsql: Fix CreatePolicy, pg_dump -v; psql and doc updates |
Previous Message | Alvaro Herrera | 2014-10-03 16:04:34 | pgsql: Don't balance vacuum cost delay when per-table settings are in e |