Re: A few message wording/formatting cleanup patches - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: A few message wording/formatting cleanup patches
Date
Msg-id CAOYmi+mYWn2h=T-8WWH54iLmBxihEpH62=ARKxja1w4HFLkQZA@mail.gmail.com
Whole thread
In response to Re: A few message wording/formatting cleanup patches  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: A few message wording/formatting cleanup patches
List pgsql-hackers
On Thu, May 28, 2026 at 10:19 AM Daniel Gustafsson <daniel@yesql.se> wrote:
> > On 28 May 2026, at 05:16, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote:
> >> libpq_append_conn_error(conn,
> >> "server did not report the unsupported `_pq_.test_protocol_negotiation` parameter in its protocol negotiation
message");
> >
> > but that doesn't seem to match our usual style.  Nearby messages use
> > double quotes instead.
>
> Agreed. Shouldn't it also be adding the parameter as a %s to further match our style?
>
> -  libpq_append_conn_error(conn, "server did not report the unsupported `_pq_.test_protocol_negotiation` parameter in
itsprotocol negotiation message"); 
> +  libpq_append_conn_error(conn, "server did not report the unsupported \"%s\" parameter in its protocol negotiation
message","_pq_.test_protocol_negotiation"); 

+1, will fix.

Thanks!
--Jacob



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: A few message wording/formatting cleanup patches
Next
From: Jacob Champion
Date:
Subject: Re: Make memory checking / sanitizing infrastructure better