Re: check_locale() and the empty string

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: check_locale() and the empty string
Дата
Msg-id 1331571281.6425.47.camel@jdavis
обсуждение исходный текст
Ответ на check_locale() and the empty string  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-bugs
On Sun, 2012-03-11 at 11:20 -0700, Jeff Davis wrote:
> The problem seems to be in check_locale(), which just checks for a
> non-NULL return value from setlocale(). However, the manual for
> setlocale() says:
>
>   If locale is "", each part of the locale that should be modified
>   is set according  to  the  environment  variables.   The details
>   are implementation-dependent.

Trivial patch attached.

Regards,
    Jeff Davis

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6512: Bug with prepared statement and timestamp + interval
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: BUG #6517: Volatile function erroneously optimized, does not consider change in schema path