| От | Tom Lane |
|---|---|
| Тема | Re: whether I can add a new encoding? |
| Дата | |
| Msg-id | 704880.1695310167@sss.pgh.pa.us обсуждение |
| Ответ на | whether I can add a new encoding? ("Pandora" <yeyukui@qq.com>) |
| Список | pgsql-general |
"=?ISO-8859-1?B?UGFuZG9yYQ==?=" <yeyukui@qq.com> writes:
> The pg_wchar.h file comments "We must avoid renumbering any backend encoding until libpq's major version number is
increasedbeyond 5", Can I add a new server-side encoding, GBK18030, and place it after PG_KOI8U in PG10.6?
What is GBK18030? If it's related to either GBK or GB18030,
then it'd be unsafe to use as a server encoding because it's not a
strict ASCII superset (that is, it has multibyte characters in
which not all bytes have the high bit set). The lack of room for
a new server encoding in the pg_enc enum has seemed like a mostly
hypothetical problem because of that restriction.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера