Re: Server-side support of all encodings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Server-side support of all encodings
Дата
Msg-id 2099.1174875627@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Server-side support of all encodings  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: Server-side support of all encodings  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> PostgreSQL suppots SJIS, BIG5, GBK, UHC and GB18030 as client encodings,
> but we cannot use them as server encodings. Are there any reason for it?

Very much so --- they aren't safe ASCII-supersets, and thus for example
the parser will fail on them.  Backend encodings must have the property
that all bytes of a multibyte character are >= 128.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Arrays of Complex Types
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Server-side support of all encodings