From: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> |
---|---|
To: | John Naylor <johncnaylorls(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Patch 1 of GB18030-2022 support |
Date: | 2025-08-11 12:32:42 |
Message-ID: | ea3a3215-09cd-4f48-862b-032f83a7b963@gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi John and all,
Per John's suggestion from the discussion
https://www.postgresql.org/message-id/CANWCAZY%3D6qq3obTNyUXq3gVa2an8mrC4c4SoDSi44NB9T0osOw%40mail.gmail.com,
I am splitting the original patch of upgrading to GB18030-2022 into
multiple patches.
In the first patch, I only replaced gb-18030-2000.xml with
gb-18030-2000.ucm. I picked up a version of the ucm file that matches to
the current xml file so that this patch focuses on a simple goal of
replacing xml with ucm. The generated map files have no change:
```
chaol(at)ChaodeMacBook-Air Unicode % perl -I. UCS_to_GB18030.pl
- Writing UTF8=>GB18030 conversion table: utf8_to_gb18030.map
- Writing GB18030=>UTF8 conversion table: gb18030_to_utf8.map
chaol(at)ChaodeMacBook-Air Unicode % git diff
chaol(at)ChaodeMacBook-Air Unicode %
```
So this patch should have no any impact to build-out binaries of PostgreSQL.
Patch 2 will update gb-18030-2000.ucm with the latest version, and patch
3 will upgrade ucm to the 2022 version.
Best regards,
Chao Li (Evan)
--------------
HighGo Software Co., Ltd.
https://www.highgo.com/
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Change-gb-18030-2000.xml-to-gb-18030-2000.ucm.patch | text/plain | 1.5 MB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2025-08-11 13:09:45 | Re: [PATCH] Let's get rid of the freelist and the buffer_strategy_lock |
Previous Message | Kirill Reshke | 2025-08-11 11:53:44 | Re: Obsolete comments in ResultRelInfo struct |