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-18 08:50:34
Message-ID: 88a4f4ab-57ca-4c8e-b724-dcddb8ecd243@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2025/8/18 16:34, John Naylor wrote:
> I verified that both autoconf and meson builds pick up the change with
> these two patches, and the new test passes. I'm still not sure what
> circumstances you found where a change doesn't get picked up, but we
> can come back to that later if need be.

Let's talk about the makefile change separately.

> ...and confusingly v2 needed to be applied first. To create a series
> from a branch, use `git format-patch master -v <version number>` and
> it will output an ordered series with one patch per commit.

This is my first spitted patch. I was confused about the "0001" part in
patch file names. Now I understood. I just recreated the both patch
files as v3:

chaol(at)ChaodeMacBook-Air postgresql % git format-patch -v3 master
v3-0001-GB18030-Switch-to-using-gb-18030-2000.ucm.patch
v3-0002-Upgrade-GB18030-encoding-support-from-2000-to-202.patch

Regard regards,

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

Attachment Content-Type Size
v3-0001-GB18030-Switch-to-using-gb-18030-2000.ucm.patch text/plain 4.8 KB
v3-0002-Upgrade-GB18030-encoding-support-from-2000-to-202.patch text/plain 456.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2025-08-18 08:53:05 RE: ReplicationSlotRelease() crashes when the instance is in the single user mode
Previous Message Hayato Kuroda (Fujitsu) 2025-08-18 08:47:27 RE: ReplicationSlotRelease() crashes when the instance is in the single user mode