node rejoin: remove unneeded PQfinish()

This commit is contained in:
Ian Barwick
2020-06-10 10:36:34 +09:00
parent 547bbb06d8
commit 53546b1c88

View File

@@ -2612,7 +2612,7 @@ do_node_rejoin(void)
log_hint(_("check the local node is registered with the current primary \"%s\" (ID: %i)"), log_hint(_("check the local node is registered with the current primary \"%s\" (ID: %i)"),
primary_node_record.node_name, primary_node_record.node_name,
primary_node_record.node_id); primary_node_record.node_id);
PQfinish(upstream_conn);
PQfinish(primary_conn); PQfinish(primary_conn);
exit(ERR_BAD_CONFIG); exit(ERR_BAD_CONFIG);
} }