pgsql: Switch format specifier for replication origins to %d

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Switch format specifier for replication origins to %d
Date: 2022-08-28 14:10:46
Message-ID: E1oSIzt-000Jtg-SJ@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Switch format specifier for replication origins to %d

Using %u with uint16 causes warnings with -Wformat-signedness. There are many
other warnings, but for now change only these since c920fe4818 already changed
the message string for most of them.

Per report from Peter Eisentraut
Discussion: https://www.postgresql.org/message-id/31e63649-0355-7088-831e-b07d5f908a8c%40enterprisedb.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/73cbdb7f1944b2ad847fb62d71011b96cd96c8fd
Author: John Naylor <john(dot)naylor(at)postgresql(dot)org>

Modified Files
--------------
src/backend/replication/logical/origin.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-08-28 14:45:06 pgsql: Doc: fix example of recursive query.
Previous Message Peter Eisentraut 2022-08-28 07:58:41 pgsql: Add more detail why repalloc and pfree do not accept NULL pointe