pgsql-server: This patch attempts to fix the issue with localized

Поиск
Список
Период
Сортировка
От momjian@svr1.postgresql.org (Bruce Momjian)
Тема pgsql-server: This patch attempts to fix the issue with localized
Дата
Msg-id 20040902010400.D87C15E471B@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
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 Hagander

Modified Files:
--------------
    pgsql-server/src/timezone:
        pgtz.c (r1.25 -> r1.26)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/timezone/pgtz.c.diff?r1=1.25&r2=1.26)

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

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql-server: The current implementation of dbsize doesn't handle tables
Следующее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql-server: Back out timezone detection patch.