Re: small bug in to_char and TM prefix, in RC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: small bug in to_char and TM prefix, in RC
Дата
Msg-id 4033.1164832096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: small bug in to_char and TM prefix, in RC  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> What platform is this? Not all platforms are created equal when it
> comes to handling of toupper/tolower on unicode charaters.

It's pretty much guaranteed not to work on multibyte characters,
regardless of platform :-(.  This did not matter for non-localized
month/day names, but it does matter now.

In the context of the existing code, the simplest solution would be
to provide separate translations of "SUNDAY", "Sunday", "sunday" etc
but this will not work for the planned strftime() change.
        regards, tom lane


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: small bug in to_char and TM prefix, in RC
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: small bug in to_char and TM prefix, in RC