mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix incorrect placeholder in walreceiver.c
Author: Yongtao Huang Discussion: https://postgr.es/m/CAOe1Go3H7CgrSceO+HBhnoptk-mJhii-YT8D19CikKintjwumQ@mail.gmail.com
This commit is contained in:
@ -955,7 +955,7 @@ XLogWalRcvWrite(char *buf, Size nbytes, XLogRecPtr recptr, TimeLineID tli)
|
|||||||
ereport(PANIC,
|
ereport(PANIC,
|
||||||
(errcode_for_file_access(),
|
(errcode_for_file_access(),
|
||||||
errmsg("could not write to WAL segment %s "
|
errmsg("could not write to WAL segment %s "
|
||||||
"at offset %u, length %lu: %m",
|
"at offset %d, length %lu: %m",
|
||||||
xlogfname, startoff, (unsigned long) segbytes)));
|
xlogfname, startoff, (unsigned long) segbytes)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user