Re: GB18030-2022 Support in PostgreSQL

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: John Naylor <johncnaylorls(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: GB18030-2022 Support in PostgreSQL
Date: 2025-08-13 07:20:27
Message-ID: 40C2C9C8-CAC4-4DAE-B496-3680407A2F63@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Aug 13, 2025, at 15:17, John Naylor <johncnaylorls(at)gmail(dot)com> wrote:
>
> On Wed, Aug 13, 2025 at 2:41 AM Peter Eisentraut <peter(at)eisentraut(dot)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.
>

Sounds good. Let me recreate the patch.

Chao Li (Evan)
--------------------
HighGo Software Co., Ltd.
https://www.highgo.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2025-08-13 07:21:13 RE: ReplicationSlotRelease() crashes when the instance is in the single user mode
Previous Message John Naylor 2025-08-13 07:17:03 Re: GB18030-2022 Support in PostgreSQL