Content-Length: 255831 | pFad | http://github.com/postgrespro/postgres/commit/2259c661dc4ecd88ac22b5358248f47ca5a5d4fc

24 Fix incorrect copy-pasto in error message of pg_waldump.c · postgrespro/postgres@2259c66 · GitHub
Skip to content

Commit 2259c66

Browse files
committed
Fix incorrect copy-pasto in error message of pg_waldump.c
The error message used on fclose() failure was incorrect, so fix it. Oversight in d497093, that I have somehow managed to miss.
1 parent d497093 commit 2259c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_waldump/pg_waldump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ XLogRecordSaveFPWs(XLogReaderState *record, const char *savepath)
529529
pg_fatal("could not write file \"%s\": %m", filename);
530530

531531
if (fclose(file) != 0)
532-
pg_fatal("could not write file \"%s\": %m", filename);
532+
pg_fatal("could not close file \"%s\": %m", filename);
533533
}
534534
}
535535

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2259c661dc4ecd88ac22b5358248f47ca5a5d4fc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy