Re: GUC names in messages
Peter Smith <smithpb2250@gmail.com>
From: Peter Smith <smithpb2250@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Peter Eisentraut <peter@eisentraut.org>,
Alvaro Herrera <alvherre@alvh.no-ip.org>, Nathan Bossart <nathandbossart@gmail.com>,
Laurenz Albe <laurenz.albe@cybertec.at>, Tom Lane <tgl@sss.pgh.pa.us>, Daniel Gustafsson <daniel@yesql.se>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-09-03T23:17:15Z
Lists: pgsql-hackers
Attachments
- v11-0001-Add-quotes-for-GUCs.patch (application/octet-stream) patch v11-0001
- v11-0003-GUC-names-fix-case-datestyle.patch (application/octet-stream) patch v11-0003
- v11-0004-GUC-names-make-common-translatable-messages.patch (application/octet-stream) patch v11-0004
- v11-0002-GUC-names-fix-case-intervalstyle.patch (application/octet-stream) patch v11-0002
On Tue, Sep 3, 2024 at 4:35 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Tue, Sep 03, 2024 at 12:00:19PM +1000, Peter Smith wrote:
> > Here is the rebased patch set v10*. Everything is the same as before
> > except now there are only 7 patches instead of 8. The previous v9-0001
> > ("bool") patch no longer exists because those changes are now already
> > present in HEAD.
> >
> > I hope these might be pushed soon to avoid further rebasing.
>
> 0001~0004 could just be merged, they're the same thing, for different
> GUC types. The consensus mentioned in 17974ec25946 makes that clear.
>
> 0007 is a good thing for translators, indeed.. I'll see about doing
> something here, at least.
> --
> Michael
Hi Michael, thanks for your interest.
I have merged the patches 0001-0004 as suggested. Please see v11 attachments.
======
Kind Regards,
Peter Smith.
Fujitsu Australia
Commits
-
Apply GUC name from central table in more places of guc.c
- f3f06b13308e 18.0 landed
-
Use camel case for "DateStyle" in some error messages
- 2e7c4abe5a88 18.0 landed
-
Unify some error messages to ease work of translators
- a68159ff2b32 18.0 landed
-
Apply more quoting to GUC names in messages
- b4db64270e0c 18.0 landed
-
Revise GUC names quoting in messages again
- 17974ec25946 17.0 landed
-
doc: Mention how to use quotes with GUC names in error messages
- a243569bf65c 17.0 landed
-
Apply quotes more consistently to GUC names in logs
- 8d9978a7176a 17.0 landed