1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

Message style fixes

This commit is contained in:
Peter Eisentraut
2019-09-23 13:37:33 +02:00
parent 467c1d9107
commit 887248e97e
11 changed files with 23 additions and 21 deletions

View File

@@ -1686,7 +1686,7 @@ PathNameDeleteTemporaryFile(const char *path, bool error_on_failure)
if (errno != ENOENT)
ereport(error_on_failure ? ERROR : LOG,
(errcode_for_file_access(),
errmsg("cannot unlink temporary file \"%s\": %m",
errmsg("could not unlink temporary file \"%s\": %m",
path)));
return false;
}
@@ -3322,7 +3322,7 @@ unlink_if_exists_fname(const char *fname, bool isdir, int elevel)
if (rmdir(fname) != 0 && errno != ENOENT)
ereport(elevel,
(errcode_for_file_access(),
errmsg("could not rmdir directory \"%s\": %m", fname)));
errmsg("could not remove directory \"%s\": %m", fname)));
}
else
{