Re: Re: [COMMITTERS] pgsql: Explicitly bind gettext() to the UTF8 locale when in use. - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Re: [COMMITTERS] pgsql: Explicitly bind gettext() to the UTF8 locale when in use.
Date
Msg-id 49771B1E.6040109@gmx.net
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Explicitly bind gettext() to the UTF8 locale when in use.  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Re: [COMMITTERS] pgsql: Explicitly bind gettext() to the UTF8 locale when in use.  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
> However, one question: The comment currently says it's harmless to do
> this on non-windows platforms. Does this still hold true?

Yes, the non-WIN32 code path appears to be the same, still.  But the 
ifdef WIN32 part we don't want, because that presumes something about 
the spelling of encoding names in the local iconv library.

> If we do keep the thing win32 only, I think we should just wrap the
> whole thing in #ifdef WIN32 and no longer do the codeset stuff at all on
> Unix - that'll make for cleaner code.

Yes, that would be much better.


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Pluggable Indexes (was Re: rmgr hooks (v2))
Next
From: Teodor Sigaev
Date:
Subject: Re: Pluggable Indexes (was Re: rmgr hooks (v2))