1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-19 15:49:24 +03:00

pg_upgrade: Message translatability and style fixes

This commit is contained in:
Peter Eisentraut
2017-08-22 20:32:17 -04:00
parent b5664cfd4c
commit 7e046e6e8a
6 changed files with 30 additions and 24 deletions

View File

@@ -307,7 +307,7 @@ check_single_dir(const char *pg_data, const char *subdir)
report_status(PG_FATAL, "check for \"%s\" failed: %s\n",
subDirName, strerror(errno));
else if (!S_ISDIR(statBuf.st_mode))
report_status(PG_FATAL, "%s is not a directory\n",
report_status(PG_FATAL, "\"%s\" is not a directory\n",
subDirName);
}
@@ -370,7 +370,7 @@ check_bin_dir(ClusterInfo *cluster)
report_status(PG_FATAL, "check for \"%s\" failed: %s\n",
cluster->bindir, strerror(errno));
else if (!S_ISDIR(statBuf.st_mode))
report_status(PG_FATAL, "%s is not a directory\n",
report_status(PG_FATAL, "\"%s\" is not a directory\n",
cluster->bindir);
validate_exec(cluster->bindir, "postgres");