pgsql: Generate EUC_CN mappings from gb18030-2022.ucm

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Generate EUC_CN mappings from gb18030-2022.ucm
Date: 2025-10-02 05:40:38
Message-ID: E1v4C3R-0013JF-2z@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Generate EUC_CN mappings from gb18030-2022.ucm

In the wake of cfa6cd292, EUC_CN was the only encoding that used
gb-18030-2000.xml to generate the .map files. Since EUC_CN is a subset
of GB18030, we can easily use the same UCM file. This allows deleting
the XML file from our repository.

Author: Chao Li <lic(at)highgo(dot)com>
Discussion: https://postgr.es/m/CANWCAZaNRXZ-5NuXmsaMA2mKvMZnCGHZqQusLkpE%2B8YX%2Bi5OYg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/48566180efff2f414ce806ca7705e811451b82ad

Modified Files
--------------
src/backend/utils/mb/Unicode/Makefile | 4 +-
src/backend/utils/mb/Unicode/UCS_to_EUC_CN.pl | 32 +-
src/backend/utils/mb/Unicode/gb-18030-2000.xml | 30916 -----------------------
3 files changed, 23 insertions(+), 30929 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-10-02 08:16:56 pgsql: Remove useless pointer update in ginxlog.c
Previous Message Michael Paquier 2025-10-02 02:09:57 pgsql: pgstattuple: Improve reports generated for indexes (hash, gist,