]> 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:11:11 +0000 (11:11 +0900)
commit69f77d75658821ddd6ecf102a7ab4b27eb316d80
tree3e4866132010c58cd4e269418b60dc0825a289a3
parent45d0c1b7d8a5657d6e333327eff7e1c51f6071bd
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