]> granicus.if.org Git - postgresql/commit
Add "SHIFT_JIS" as an accepted encoding name for locale checking.
authorTatsuo Ishii <ishii@postgresql.org>
Sun, 15 Dec 2013 01:33:06 +0000 (10:33 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Sun, 15 Dec 2013 02:09:05 +0000 (11:09 +0900)
commit1f0626ee40f2decd93ca96c6f9e9a9b5edff57ba
treef3e4ffed7ad2bcf4d4f7458731b8dfbccf5a03b0
parent1b4f7f93b4693858cb983af3cd557f6097dab67b
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.
src/port/chklocale.c