pgsql: Switch format specifier for replication origins to %d

From: John Naylor <john(dot)naylor(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Switch format specifier for replication origins to %d
Date: 2022-08-23 02:57:51
Message-ID: E1oQK6w-000mbI-LT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ba8321349bc02423aa4d49ebb5d579ec313cf930

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 John Naylor 2022-08-23 02:58:49 Re: pgsql: Refer to replication origin roident as "ID" in user facing messa
Previous Message John Naylor 2022-08-23 02:33:25 pgsql: Remove empty statement