pgsql: Fix bogus logic for zic -P option.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix bogus logic for zic -P option.
Дата
Msg-id E1Xa7uU-0006Uj-Hv@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/596857043023738099d6d16f8edbe6b7353876c0

Modified Files
--------------
src/timezone/zic.c |   33 ++++++++++++++++++---------------
1 file changed, 18 insertions(+), 15 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Don't balance vacuum cost delay when per-table settings are in e
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix bogus logic for zic -P option.