diff --git a/repmgr.c b/repmgr.c index b627f861..b721061a 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1898,7 +1898,7 @@ do_master_register(void) if (!schema_exists) { - log_info(_("master register: creating database objects inside the %s schema\n"), + log_info(_("master register: creating database objects inside the '%s' schema\n"), get_repmgr_schema()); begin_transaction(conn); @@ -1945,8 +1945,6 @@ do_master_register(void) exit(ERR_BAD_CONFIG); } - begin_transaction(conn); - /* * Check whether there's an existing record for this node, and * update it if --force set @@ -2010,7 +2008,7 @@ do_master_register(void) PQfinish(conn); - log_notice(_("master node correctly registered for cluster %s with id %d (conninfo: %s)\n"), + log_notice(_("master node correctly registered for cluster '%s' with id %d (conninfo: %s)\n"), options.cluster_name, options.node, options.conninfo); return; }