mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
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.
This commit is contained in:
@ -529,7 +529,7 @@ XLogRecordSaveFPWs(XLogReaderState *record, const char *savepath)
|
||||
pg_fatal("could not write file \"%s\": %m", filename);
|
||||
|
||||
if (fclose(file) != 0)
|
||||
pg_fatal("could not write file \"%s\": %m", filename);
|
||||
pg_fatal("could not close file \"%s\": %m", filename);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user