Re: GB18030-2022 Support in PostgreSQL

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: GB18030-2022 Support in PostgreSQL
Дата
Msg-id 67669282-145d-437b-ba29-805216c13597@eisentraut.org
обсуждение исходный текст
Ответ на Re: GB18030-2022 Support in PostgreSQL  (Chao Li <li.evan.chao@gmail.com>)
Список pgsql-hackers
On 05.08.25 08:22, Chao Li wrote:
> I agree with Tom that we may just redefine GB18030 to comply with the 
> 2022 standard.
> 
> As John Naylor pointed, 2022 is not backward compatible, that is true. 
> However, I went through all the incompatible changes, those are all 
> characters rarely used. So I would guess most of the existing databases 
> won’t be impacted and the rest with encoding GB18030 need to do data 
> migration before upgrading to a PG version that switches to 
> GB18030-2022. I think PG may delegate data migration tasks to third 
> party PG service vendors. They may develop simple or complex migration 
> tools to help different use cases.

Note that you can also create custom conversions using CREATE 
CONVERSION, so that would be something for those who would need the old 
behavior.




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