mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
Add compatibility with postgres master (upcoming PG-15). (#410)
Upstream commit cda03cfed6b changed CreateReplicationSlot() signature
This commit is contained in:
+6
-1
@@ -185,7 +185,12 @@ StreamLog(void *arg)
|
||||
#endif
|
||||
|
||||
|
||||
#if PG_VERSION_NUM >= 110000
|
||||
#if PG_VERSION_NUM >= 150000
|
||||
/* Create temp repslot */
|
||||
if (temp_slot)
|
||||
CreateReplicationSlot(stream_arg->conn, replication_slot,
|
||||
NULL, temp_slot, true, true, false, false);
|
||||
#elif PG_VERSION_NUM >= 110000
|
||||
/* Create temp repslot */
|
||||
if (temp_slot)
|
||||
CreateReplicationSlot(stream_arg->conn, replication_slot,
|
||||
|
||||
Reference in New Issue
Block a user