postgres.git / summary / log / commit / refs

commit    cff2ef9845d6d26c99036c8331b705144186690f
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Sat Feb 07 21:37:02 2026 +0000
First released in: 14.21, 15.16, 16.12, 17.8, 18.2

    Further error message fix
    
    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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_rewind/file_ops.c b/src/bin/pg_rewind/file_ops.c index 2424ede034f..649fdd15591 100644 --- 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; [parent: 3c3b34bbee41]