Re: pgsql: Refer to replication origin roident as "ID" in user facing messa - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: Refer to replication origin roident as "ID" in user facing messa
Date
Msg-id b70cd33b-82fb-c2d6-442c-5f719079ff91@enterprisedb.com
Whole thread Raw
In response to pgsql: Refer to replication origin roident as "ID" in user facing messa  (John Naylor <john.naylor@postgresql.org>)
Responses Re: pgsql: Refer to replication origin roident as "ID" in user facing messa  (John Naylor <john.naylor@enterprisedb.com>)
List pgsql-committers
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.




pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Remove configure probe for net/if.h.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Simplify and clarify an error message