1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00

Message style improvements

This commit is contained in:
Peter Eisentraut
2021-06-28 08:36:44 +02:00
parent ee3fdb8f34
commit c31833779d
11 changed files with 33 additions and 29 deletions

View File

@@ -3295,13 +3295,13 @@ do_syncfs(const char *path)
{
ereport(LOG,
(errcode_for_file_access(),
errmsg("could not open %s: %m", path)));
errmsg("could not open file \"%s\": %m", path)));
return;
}
if (syncfs(fd) < 0)
ereport(LOG,
(errcode_for_file_access(),
errmsg("could not sync filesystem for \"%s\": %m", path)));
errmsg("could not synchronize file system for file \"%s\": %m", path)));
CloseTransientFile(fd);
}
#endif