Fixes for 9.3 support

This commit is contained in:
Ian Barwick
2017-09-15 17:13:17 +09:00
parent 192f968d29
commit 31c7cb4e9a
2 changed files with 17 additions and 4 deletions

View File

@@ -3619,10 +3619,6 @@ request_vote(PGconn *conn, t_node_info *this_node, t_node_info *other_node, int
"SELECT repmgr.request_vote(%i, %i)",
this_node->node_id,
electoral_term);
/* "SELECT repmgr.request_vote(%i, '%X/%X'::pg_lsn)",
this_node->node_id,
(uint32) (last_wal_receive_lsn >> 32),
(uint32) last_wal_receive_lsn);*/
res = PQexec(conn, query.data);
termPQExpBuffer(&query);