Re: Initdb-cs_CZ.WIN-1250 buildfarm failures - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Initdb-cs_CZ.WIN-1250 buildfarm failures
Date
Msg-id 5535.1419099737@sss.pgh.pa.us
Whole thread Raw
In response to Re: Initdb-cs_CZ.WIN-1250 buildfarm failures  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-hackers
Tomas Vondra <tv@fuzzy.cz> writes:
> But clearly, something changed between RH 6.5 and 6.6, because on 6.5 I
> get this:

> $ LANG=cs_CZ.WIN-1250 locale LC_NUMERIC
> ,
> �
> 3;3
> 44
> 160
> CP1250

> while on 6.6 I get this:

> $ LANG=cs_CZ.WIN-1250 locale LC_NUMERIC
> ,

> 3;3
> 44
> 160
> ANSI_X3.4-1968

That's certainly broken.  The entire point of having a cs_CZ.WIN-1250
locale (as opposed to cs_CZ.something-else) would be to specify a
codeset corresponding to WIN-1250.  Our code recognizes the spelling
"CP1250" for that.  It's possible there are other spellings we should
recognize, but "ANSI_X3.4-1968" is certainly not one.  As I said, that
just means ASCII, so it's completely useless for determining which
ASCII-superset encoding is wanted.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Initdb-cs_CZ.WIN-1250 buildfarm failures
Next
From: Tomas Vondra
Date:
Subject: Re: Initdb-cs_CZ.WIN-1250 buildfarm failures