projects
/
postgresql.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bb339f
)
Further error message fix
author
Peter Eisentraut <peter@eisentraut.org>
Sat, 7 Feb 2026 21:37:02 +0000
(22:37 +0100)
committer
Peter Eisentraut <peter@eisentraut.org>
Sat, 7 Feb 2026 21:53:38 +0000
(22:53 +0100)
Further fix of error message changed in commit
74a116a79b4
. The
initial fix was not quite correct.
Discussion: https://www.postgresql.org/message-id/flat/tencent_1EE1430B1E6C18A663B8990F%40qq.com
src/bin/pg_rewind/file_ops.c
patch
|
blob
|
history
diff --git
a/src/bin/pg_rewind/file_ops.c
b/src/bin/pg_rewind/file_ops.c
index 92f1446364bccc3e1747df7fc6550b38454d30a0..a8070864bbe95519cb51adea9b9d934f41bd8f5c 100644
(file)
--- a/
src/bin/pg_rewind/file_ops.c
+++ b/
src/bin/pg_rewind/file_ops.c
@@
-327,7
+327,7
@@
slurpFile(const char *datadir, const char *path, size_t *filesize)
fullpath);
if (fstat(fd, &statbuf) < 0)
- pg_fatal("could not stat file \"%s\"
for reading
: %m",
+ pg_fatal("could not stat file \"%s\": %m",
fullpath);
len = statbuf.st_size;
✕