Re: GB18030-2022 Support in PostgreSQL - Mailing list pgsql-hackers

From John Naylor
Subject Re: GB18030-2022 Support in PostgreSQL
Date
Msg-id CANWCAZagESb1poUBBtM3HCf-wwQQGHO9GXtG5Wv=9ZbKPwkVAw@mail.gmail.com
Whole thread Raw
In response to Re: GB18030-2022 Support in PostgreSQL  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: GB18030-2022 Support in PostgreSQL
List pgsql-hackers
On Wed, Aug 13, 2025 at 2:41 AM Peter Eisentraut <peter@eisentraut.org> wrote:
> Could we download this file on demand, like we do for the other input
> files for the conversion mappings?

That sounds like the way to go.

While poking around, I found that UCS_to_EUC_CN.pl also uses
gb-18030-2000.xml for its input, so now it seems wrong to delete the
XML file as a side effect of changing the source for GB18030. Maybe
EUC_CN could use a downloaded-on-demand .ucm source as well (whether
2000 or 2022) but we can consider that later. For now let's leave the
XML file alone.

--
John Naylor
Amazon Web Services



pgsql-hackers by date:

Previous
From: Shinya Kato
Date:
Subject: Re: Enhance statistics reset functions to return reset timestamp
Next
From: Chao Li
Date:
Subject: Re: GB18030-2022 Support in PostgreSQL