Skip to content

Commit 3ada0d2

Browse files
committed
Fix incorrect placeholder in walreceiver.c
Author: Yongtao Huang Discussion: https://postgr.es/m/CAOe1Go3H7CgrSceO+HBhnoptk-mJhii-YT8D19CikKintjwumQ@mail.gmail.com
1 parent d891dcc commit 3ada0d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/walreceiver.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ XLogWalRcvWrite(char *buf, Size nbytes, XLogRecPtr recptr, TimeLineID tli)
955955
ereport(PANIC,
956956
(errcode_for_file_access(),
957957
errmsg("could not write to WAL segment %s "
958-
"at offset %u, length %lu: %m",
958+
"at offset %d, length %lu: %m",
959959
xlogfname, startoff, (unsigned long) segbytes)));
960960
}
961961

0 commit comments

Comments
 (0)