mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
minor format string and comment fixes (add missing newlines, fix english usage, format string argument order)
This commit is contained in:
committed by
Greg Smith
parent
f74b806e4f
commit
a67688f198
3
repmgr.c
3
repmgr.c
@@ -528,7 +528,7 @@ do_standby_register(void)
|
|||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PQntuples(res) == 0) /* schema doesn't exists */
|
if (PQntuples(res) == 0) /* schema doesn't exist */
|
||||||
{
|
{
|
||||||
log_err("Schema %s doesn't exists.\n", repmgr_schema);
|
log_err("Schema %s doesn't exists.\n", repmgr_schema);
|
||||||
PQclear(res);
|
PQclear(res);
|
||||||
@@ -731,7 +731,6 @@ do_standby_clone(void)
|
|||||||
{
|
{
|
||||||
PQfinish(conn);
|
PQfinish(conn);
|
||||||
log_err(_("%s needs parameter 'wal_keep_segments' to be set to %s or greater (see the '-w' option)\n"), progname, runtime_options.wal_keep_segments);
|
log_err(_("%s needs parameter 'wal_keep_segments' to be set to %s or greater (see the '-w' option)\n"), progname, runtime_options.wal_keep_segments);
|
||||||
return;
|
|
||||||
exit(ERR_BAD_CONFIG);
|
exit(ERR_BAD_CONFIG);
|
||||||
}
|
}
|
||||||
if (!guc_setted(conn, "archive_mode", "=", "on"))
|
if (!guc_setted(conn, "archive_mode", "=", "on"))
|
||||||
|
|||||||
Reference in New Issue
Block a user