mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
Minor log message fixes
This commit is contained in:
@@ -87,7 +87,7 @@ begin_transaction(PGconn *conn)
|
|||||||
{
|
{
|
||||||
PGresult *res;
|
PGresult *res;
|
||||||
|
|
||||||
log_verbose(LOG_DEBUG, "begin_transaction()");
|
log_verbose(LOG_DEBUG, "begin_transaction()\n");
|
||||||
|
|
||||||
res = PQexec(conn, "BEGIN");
|
res = PQexec(conn, "BEGIN");
|
||||||
|
|
||||||
@@ -111,7 +111,7 @@ commit_transaction(PGconn *conn)
|
|||||||
{
|
{
|
||||||
PGresult *res;
|
PGresult *res;
|
||||||
|
|
||||||
log_verbose(LOG_DEBUG, "commit_transaction()");
|
log_verbose(LOG_DEBUG, "commit_transaction()\n");
|
||||||
|
|
||||||
res = PQexec(conn, "COMMIT");
|
res = PQexec(conn, "COMMIT");
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ rollback_transaction(PGconn *conn)
|
|||||||
{
|
{
|
||||||
PGresult *res;
|
PGresult *res;
|
||||||
|
|
||||||
log_verbose(LOG_DEBUG, "rollback_transaction()");
|
log_verbose(LOG_DEBUG, "rollback_transaction()\n");
|
||||||
|
|
||||||
res = PQexec(conn, "ROLLBACK");
|
res = PQexec(conn, "ROLLBACK");
|
||||||
|
|
||||||
|
|||||||
2
repmgr.c
2
repmgr.c
@@ -3650,7 +3650,7 @@ update_node_record_set_master(PGconn *conn, int this_node_id)
|
|||||||
PGresult *res;
|
PGresult *res;
|
||||||
char sqlquery[QUERY_STR_LEN];
|
char sqlquery[QUERY_STR_LEN];
|
||||||
|
|
||||||
log_debug(_("Setting %i as master and marking existing master as failed\n"), this_node_id);
|
log_debug(_("setting node %i as master and marking existing master as failed\n"), this_node_id);
|
||||||
|
|
||||||
begin_transaction(conn);
|
begin_transaction(conn);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user