Add missing newlines in log messages

This commit is contained in:
Ian Barwick
2016-05-11 21:47:40 +09:00
committed by Ian Barwick
parent 04ba672b9f
commit c79933685c
2 changed files with 2 additions and 2 deletions

View File

@@ -612,7 +612,7 @@ get_upstream_connection(PGconn *standby_conn, char *cluster, int node_id,
if (!PQntuples(res)) if (!PQntuples(res))
{ {
log_notice(_("no record found for upstream server")); log_notice(_("no record found for upstream server\n"));
PQclear(res); PQclear(res);
return NULL; return NULL;
} }

View File

@@ -1701,7 +1701,7 @@ do_upstream_standby_failover(t_node_info upstream_node)
if (PQntuples(res) == 0) if (PQntuples(res) == 0)
{ {
log_err(_("no node with id %i found"), upstream_node_id); log_err(_("no node with id %i found\n"), upstream_node_id);
PQclear(res); PQclear(res);
return false; return false;
} }