Switch format specifier for replication origins to %d

John Naylor <john.naylor@postgresql.org>

Commit: 73cbdb7f1944b2ad847fb62d71011b96cd96c8fd
Author: John Naylor <john.naylor@postgresql.org>
Committer: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-08-28T14:04:35Z
Releases: 15.0
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

Files

PathChange+/−
src/backend/replication/logical/origin.c modified +8 −8

Discussion

Cited messages not in the archive: 31e63649-0355-7088-831e-b07d5f908a8c@enterprisedb.com