pgsql: Add "SHIFT_JIS" as an accepted encoding name for locale checking
pgsql: Add "SHIFT_JIS" as an accepted encoding name for locale checking
От:
Tatsuo Ishii <ishii@postgresql.org>
Дата:
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 ------ REL8_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/69f77d75658821ddd6ecf102a7ab4b27eb316d80 Modified Files -------------- src/port/chklocale.c | 1 + 1 file changed, 1 insertion(+)