git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d891dcc)
Fix incorrect placeholder in walreceiver.c
2024年1月19日 04:20:49 +0000 (13:20 +0900)
2024年1月19日 04:20:49 +0000 (13:20 +0900)
Author: Yongtao Huang
Discussion: https://postgr.es/m/CAOe1Go3H7CgrSceO+HBhnoptk-mJhii-YT8D19CikKintjwumQ@mail.gmail.com


diff --git a/src/backend/replication/walreceiver.c b/src/backend/replication/walreceiver.c
index e00395ff2b41b97dd606638cd1ff2e3ba308bca1..728059518e1e5be3936f9d75ccdaf723d1193cd5 100644 (file)
--- a/src/backend/replication/walreceiver.c
+++ b/src/backend/replication/walreceiver.c
@@ -955,7 +955,7 @@ XLogWalRcvWrite(char *buf, Size nbytes, XLogRecPtr recptr, TimeLineID tli)
ereport(PANIC,
(errcode_for_file_access(),
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)));
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /