mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Add support for temporary replication slots
This allows creating temporary replication slots that are removed automatically at the end of the session or on error. From: Petr Jelinek <petr.jelinek@2ndquadrant.com>
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
typedef enum ReplicationSlotPersistency
|
||||
{
|
||||
RS_PERSISTENT,
|
||||
RS_EPHEMERAL
|
||||
RS_EPHEMERAL,
|
||||
RS_TEMPORARY
|
||||
} ReplicationSlotPersistency;
|
||||
|
||||
/*
|
||||
@@ -165,6 +166,7 @@ extern void ReplicationSlotDrop(const char *name);
|
||||
|
||||
extern void ReplicationSlotAcquire(const char *name);
|
||||
extern void ReplicationSlotRelease(void);
|
||||
extern void ReplicationSlotCleanup(void);
|
||||
extern void ReplicationSlotSave(void);
|
||||
extern void ReplicationSlotMarkDirty(void);
|
||||
|
||||
|
Reference in New Issue
Block a user