]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Switch format specifier for replication origins to %d
authorJohn Naylor <john.naylor@postgresql.org>
Tue, 23 Aug 2022 02:55:05 +0000 (09:55 +0700)
committerPeter Eisentraut <peter@eisentraut.org>
Sun, 28 Aug 2022 14:04:35 +0000 (16:04 +0200)
commit73cbdb7f1944b2ad847fb62d71011b96cd96c8fd
tree59ed223b59e93a938b2727d7f77dbfc734f91ae6
parent44817d97bca361f2be7fac64afa50715f959c11c
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
src/backend/replication/logical/origin.c