Skip to content
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.

Commit

Permalink
minor format string and comment fixes (add missing newlines, fix engl…
Browse files Browse the repository at this point in the history
…ish usage, format string argument order)
  • Loading branch information
Charles Duffy authored and Greg Smith committed Feb 10, 2011
1 parent f74b806 commit a67688f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions repmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ do_standby_register(void)
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);
PQclear(res);
Expand Down Expand Up @@ -731,7 +731,6 @@ do_standby_clone(void)
{
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);
return;
exit(ERR_BAD_CONFIG);
}
if (!guc_setted(conn, "archive_mode", "=", "on"))
Expand Down

0 comments on commit a67688f

Please sign in to comment.