8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1b01c commit 6d242eeCopy full SHA for 6d242ee
src/include/replication/slot.h
@@ -22,9 +22,13 @@
22
*
23
* Slots marked as PERSISTENT are crash-safe and will not be dropped when
24
* released. Slots marked as EPHEMERAL will be dropped when released or after
25
- * restarts.
+ * restarts. Slots marked TEMPORARY will be dropped at the end of a session
26
+ * or on error.
27
- * EPHEMERAL slots can be made PERSISTENT by calling ReplicationSlotPersist().
28
+ * EPHEMERAL is used as a not-quite-ready state when creating persistent
29
+ * slots. EPHEMERAL slots can be made PERSISTENT by calling
30
+ * ReplicationSlotPersist(). For a slot that goes away at the end of a
31
+ * session, TEMPORARY is the appropriate choice.
32
*/
33
typedef enum ReplicationSlotPersistency
34
{
0 commit comments