Fix debugging output

This commit is contained in:
Ian Barwick
2015-01-12 09:47:13 +09:00
parent 822867ec24
commit 437485bf6a
2 changed files with 5 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ establish_db_connection(const char *conninfo, const bool exit_on_error)
strcpy(connection_string, conninfo);
strcat(connection_string, " fallback_application_name='repmgr'");
log_debug(_("Connecting to: '%s'"), connection_string);
log_debug(_("Connecting to: '%s'\n"), connection_string);
conn = PQconnectdb(connection_string);

View File

@@ -488,10 +488,9 @@ witness_monitor(void)
* we cannot reconnect, return false.
*/
check_connection(primary_conn, "master"); /* this take up to
* local_options.reconnect_atte
* mpts *
* local_options.reconnect_intv
* l seconds */
* local_options.reconnect_attempts
* local_options.reconnect_intvl seconds
*/
if (PQstatus(primary_conn) != CONNECTION_OK)
{
@@ -620,7 +619,7 @@ standby_monitor(void)
else
{
log_err(
_("We haven't found a new master, waiting %s seconds before retry...\n"),
_("We haven't found a new master, waiting %i seconds before retry...\n"),
local_options.retry_promote_interval_secs
);