Skip to content
Snippets Groups Projects
Commit 8388680c authored by Robert Haas's avatar Robert Haas
Browse files

Fix error message in pre_sync_fname.

The old one didn't include %m anywhere, and required extra
translation.

Report by Peter Eisentraut. Fix by me. Review by Tom Lane.
parent 32f8d57c
No related branches found
No related tags found
No related merge requests found
...@@ -2467,7 +2467,7 @@ pre_sync_fname(char *fname, bool isdir) ...@@ -2467,7 +2467,7 @@ pre_sync_fname(char *fname, bool isdir)
if (fd < 0) if (fd < 0)
ereport(FATAL, ereport(FATAL,
(errmsg("could not open file \"%s\" before fsync", (errmsg("could not open file \"%s\": %m",
fname))); fname)));
pg_flush_data(fd, 0, 0); pg_flush_data(fd, 0, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment