Timezones on localized windows

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Timezones on localized windows
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE475B7D@algol.sollentuna.se
обсуждение исходный текст
Ответы Re: Timezones on localized windows  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Timezones on localized windows  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
This patch attempts to fix the issue with localized timezones on
Windows.

Recap: When running on a localized windows version, the timezone name
returned is also localized, and therefor does not match our lookup
table.

Solution: The registry contains both the name of the timezone in english
and the localized name. The patch adds code to scan the registry for the
localized name and gets the english name from that, and then rescans the
table.

I have tested this on a Swedish WinXP, and it works without problems.
The registry layout is the same in Win2k, but I haven't specifically
tested it. It's also the same on different languages but again only
Swedish is tested.


//Magnus

Вложения

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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: log_filename_prefix --> log_filename + strftime()
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Typo in tab-complete.c