pgsql: Add "SHIFT_JIS" as an accepted encoding name for locale checking - Mailing list pgsql-committers

From Tatsuo Ishii
Subject pgsql: Add "SHIFT_JIS" as an accepted encoding name for locale checking
Date
Msg-id E1Vs1Bv-0005Nr-4f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add "SHIFT_JIS" as an accepted encoding name for locale checking.

When locale is "ja_JP.SJIS", nl_langinfo(CODESET) returns "SHIFT_JIS"
on some platforms, at least on RedHat Linux. So the encoding/locale
match table (encoding_match_list) needs the entry. Otherwise client
encoding is set to SQL_ASCII.

Back patch to all supported branches.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8122e6f85a77872f9c67ed384398244e95c1e8e9

Modified Files
--------------
src/port/chklocale.c |    1 +
1 file changed, 1 insertion(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Allow empty target list in SELECT.
Next
From: Tatsuo Ishii
Date:
Subject: pgsql: Add "SHIFT_JIS" as an accepted encoding name for locale checking