Re: NLS on MSVC strikes back!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NLS on MSVC strikes back!
Дата
Msg-id 25841.1202828956@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: NLS on MSVC strikes back!  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: NLS on MSVC strikes back!  ("Gevik Babakhani" <pgdev@xs4all.nl>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On Nov 24 2006 this was committed dor src/backend/utils/adt/formatting.c:

> r 1.114: Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.

> A few hours later it was supposedly reverted: r 1.115: Revert (too late 
> in beta): Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.

> Apparently this was never returned to (it should probably have been put 
> on the patches hold queue).

to_char's month/day name localization is implemented with gettext() not
strftime(), which is why it depends on LC_MESSAGES not LC_TIME.  I seem
to recall that we didn't like the side-effects of the patch you are
mentioning, and so it ended up being rejected outright.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postmaster in a tight loop
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: NLS on MSVC strikes back!