]> git.ipfire.org Git - thirdparty/postgresql.git/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:02 +0000 (11:11 +0900)
commit7016d970d0f1f3a59249a28c6148158bc47c6bd8
tree6f915a69698f2192b5b3fb36027ea1674b014d79
parent0a63f7d977777fc934589bdd7229929ab0325d55
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