Simplify function create_replication_slot()

Following the changes in 793d83b, it's no longer necessary to
pass the server version number.
This commit is contained in:
Ian Barwick
2018-11-29 14:35:01 +09:00
parent a6a2be2239
commit 66b40ffc68
3 changed files with 5 additions and 9 deletions

View File

@@ -492,7 +492,7 @@ PGresult *get_event_records(PGconn *conn, int node_id, const char *node_name,
/* replication slot functions */
void create_slot_name(char *slot_name, int node_id);
bool create_replication_slot(PGconn *conn, char *slot_name, int server_version_num, PQExpBufferData *error_msg);
bool create_replication_slot(PGconn *conn, char *slot_name, PQExpBufferData *error_msg);
bool drop_replication_slot(PGconn *conn, char *slot_name);
RecordStatus get_slot_record(PGconn *conn, char *slot_name, t_replication_slot *record);
int get_free_replication_slot_count(PGconn *conn);