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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user