Re: [PGdocs] fix description for handling pf non-ASCII characters
Karl O. Pinc <kop@karlpinc.com>
From: "Karl O. Pinc" <kop@karlpinc.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, Peter Smith
<smithpb2250@gmail.com>, jian he <jian.universality@gmail.com>, Postgres
hackers <pgsql-hackers@lists.postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2023-09-28T05:58:28Z
Lists: pgsql-hackers
On Thu, 28 Sep 2023 12:54:33 +0900
Michael Paquier <michael@paquier.xyz> wrote:
> I was looking at this thread overall, the three v3 flavors of the doc
> changes and v4.
>
> - <varname>application_name</varname> value. Other characters
> will be
> - replaced with question marks (<literal>?</literal>).
> + <varname>application_name</varname> value.
> + Other characters are replaced with <link
> + linkend="sql-syntax-strings-escape">C-style hexadecimal
> escapes</link>.
>
> The simplicity of the change in v4 seems like the best approach to me,
> so +1 for that (including the mention to "C-style").
I agree with Tom that it's not worth spending anyone's attention
on bytes v.s. characters.
So I'm marking the patch ready for committer.
(I have not tried the version that patches against PGv16.)
Thank you everyone, especially Hayato, for spending time
and making this better.
Regards,
Karl <kop@karlpinc.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
doc: Fix descriptions related to the handling of non-ASCII characters
- 950e236e5069 16.1 landed
- 3ef18a90bdea 17.0 landed
-
pg_clean_ascii(): escape bytes rather than lose them
- 45b1a67a0fcb 16.0 cited
-
Make locale option behavior more consistent
- da5d4ea5aaac 16.0 cited