pgsql: Add "SHIFT_JIS" as an accepted encoding name for locale checking

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add "SHIFT_JIS" as an accepted encoding name for locale checking
Date: 2013-12-15 02:12:23
Message-ID: E1Vs1Bv-0005No-0v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1f0626ee40f2decd93ca96c6f9e9a9b5edff57ba

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-12-16 09:43:54 pgsql: Mark variables 'static' where possible. Move GinFuzzySearchLimit
Previous Message Tom Lane 2013-12-15 01:23:48 pgsql: Allow empty target list in SELECT.