Re: buildfarm / handling (undefined) locales

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: buildfarm / handling (undefined) locales
Дата
Msg-id 53738755.5070008@dunslane.net
обсуждение исходный текст
Ответ на Re: buildfarm / handling (undefined) locales  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 05/14/2014 11:02 AM, Tom Lane wrote:
> I wrote:
>> As far as Windows goes, we could certainly use #ifdef WIN32 to print
>> some different text, if anyone can write down what it should be.
> Some googling suggests that on Windows, setlocale pays no attention
> to environment variables but gets a value that the user can set via
> the Control Panel.

Indeed. There is a comment in plperl.c about that, because we have to 
deal with it in a somewhat ugly fashion.


> This probably means that an invalid setting is
> impossible, or at least that we have no clear idea how the user could
> screw it up.  So I'm thinking we do not need a Windows-specific
> phrasing of the message, until such time as we see evidence of how
> you could provoke this case on Windows.
>
>             

Right. I'd just leave Windows out of it for now.

cheers

andrew




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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: popen and pclose redefinitions causing many warning in Windows build
Следующее
От: Robert Haas
Дата:
Сообщение: Re: 9.5: UPDATE/DELETE .. ORDER BY .. LIMIT ..