Re: [pgsql-hackers-win32] Win32 & NLS - Mailing list pgsql-patches

From Tom Lane
Subject Re: [pgsql-hackers-win32] Win32 & NLS
Date
Msg-id 10509.1098043509@sss.pgh.pa.us
Whole thread Raw
In response to Win32 & NLS  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-patches
"Magnus Hagander" <mha@sollentuna.net> writes:
> Attached is a patch with adds a environment variable based version of
> locale_messages_assign(). It's not a pretty solution, but I think it's
> probably necessary.

Applied with minor cleanup.

I'm still concerned about the order-of-operations issue, but some
desultory experimentation on Linux (Fedora Core 3) did not find any
cases where setlocale(LC_MESSAGES) would fail because of a contradictory
LC_CTYPE setting, so maybe that theory is all wet.  Still it seems there
is *something* fishy going on, given the number of reports we've seen.

            regards, tom lane

pgsql-patches by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: [pgsql-hackers-win32] Win32 & NLS
Next
From: Peter Eisentraut
Date:
Subject: Re: Update postgres-zh_TW.po for 8.0