pgsql: Update our mapping of Windows time zone names some more.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Update our mapping of Windows time zone names some more.
Дата
Msg-id E1mXT5G-0006fR-07@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Update our mapping of Windows time zone names some more.

Per discussion, let's just follow CLDR's default zone mappings
faithfully.  There are two changes here that are clear improvements:

* Mapping "Greenwich Standard Time" to Atlantic/Reykjavik is actually
a better fit than using London, because Iceland hasn't observed DST
since 1968, so this is more nearly what people might expect.

* Since the "Samoa" zone is specified to be UTC+13:00, we must map
it to Pacific/Apia not Pacific/Samoa; the latter refers to American
Samoa which is now on the other side of the date line.

The rest of these changes look like they're choosing the most populous
IANA zone as representative.  Whatever the details, we're just going
to say "if you don't like this mapping, complain to CLDR".

Discussion: https://postgr.es/m/3266414.1633045628@sss.pgh.pa.us

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d0b0b70dc2a60d68f97af5264fe432e245eea3a5

Modified Files
--------------
src/bin/initdb/findtimezone.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Update our mapping of Windows time zone names some more.
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Fix check for trapping exit() calls in libpq