Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2259c66

Browse filesBrowse 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
Copy full SHA for 2259c66

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/bin/pg_waldump/pg_waldump.c

Copy file name to clipboardExpand all lines: src/bin/pg_waldump/pg_waldump.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.