Re: A new message seems missing a punctuation

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-02-19T05:01:33Z
Lists: pgsql-hackers
On Mon, Feb 19, 2024 at 10:10 AM Kyotaro Horiguchi
<horikyota.ntt@gmail.com> wrote:
> A recent commit (7a424ece48) added the following message:
>
> > could not sync slot information as remote slot precedes local slot:
> > remote slot "%s": LSN (%X/%X), catalog xmin (%u) local slot: LSN
> > (%X/%X), catalog xmin (%u)
>
> Since it is a bit overloaded but doesn't have a separator between
> "catalog xmin (%u)" and "local slot:", it is somewhat cluttered. Don't
> we need something, for example a semicolon there to improve
> readability and reduce clutter?

I think maybe we should even revise the message even more. In most
places we do not just print out a whole bunch of values, but use a
sentence to connect them.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Improve ERROR/LOG messages added by commits ddd5f4f54a and 7a424ece48.