Switch format specifier for replication origins to %d
authorJohn Naylor <[email protected]>
Tue, 23 Aug 2022 02:55:05 +0000 (09:55 +0700)
committerJohn Naylor <[email protected]>
Tue, 23 Aug 2022 02:55:05 +0000 (09:55 +0700)
commitba8321349bc02423aa4d49ebb5d579ec313cf930
tree8f3f4cf4229940dad8080d7ca7f5eea1e6757076
parent1b9050da66aba821fec18376bee30d17e91e7027
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