Re: GUC names in messages - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GUC names in messages
Date
Msg-id 2162891.1715890833@sss.pgh.pa.us
Whole thread Raw
In response to Re: GUC names in messages  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> On 16 May 2024, at 13:35, Peter Eisentraut <peter@eisentraut.org> wrote:
>> - errmsg("WAL generated with full_page_writes=off was replayed "
>> + errmsg("WAL generated with \"full_page_writes=off\" was replayed "

> I'm not a fan of this syntax, but I at the same time can't offer a better idea
> so this isn't an objection but a hope that it can be made even better during
> the v18 cycle.

Yeah ... formally correct would be something like

    errmsg("WAL generated with \"full_page_writes\"=\"off\" was replayed "

but that's a bit much for my taste.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why is citext/regress failing on hamerkop?
Next
From: Joe Conway
Date:
Subject: Re: commitfest.postgresql.org is no longer fit for purpose