From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Refer to replication origin roident as "ID" in user facing messa
Date: Thu, 18 Aug 2022 11:49:15 +0200
Message-ID: <b70cd33b-82fb-c2d6-442c-5f719079ff91@enterprisedb.com> (raw)
In-Reply-To: <E1oOUz7-0002oD-6m@gemulon.postgresql.org>
References: <E1oOUz7-0002oD-6m@gemulon.postgresql.org>
On 18.08.22 04:10, John Naylor wrote:
> While at it, most format strings already use %u, so for consintency
> change the remaining stragglers using %d.
This is incorrect. Replication origin IDs are of type uint16, which
gets promoted to int in a variable arguments list, so %d is the correct
placeholder.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter.eisentraut@enterprisedb.com, john.naylor@postgresql.org
Subject: Re: pgsql: Refer to replication origin roident as "ID" in user facing messa
In-Reply-To: <b70cd33b-82fb-c2d6-442c-5f719079ff91@enterprisedb.com>
References: <E1oOUz7-0002oD-6m@gemulon.postgresql.org> <b70cd33b-82fb-c2d6-442c-5f719079ff91@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox