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

@@ -3937,7 +3937,7 @@ 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)
create_replication_slot(PGconn *conn, char *slot_name, PQExpBufferData *error_msg)
{
PQExpBufferData query;
RecordStatus record_status = RECORD_NOT_FOUND;