Content-Length: 268059 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6d242ee980193f29618aa899eb61f67a953bd712

2A Update code comment for temporary replication slots · postgrespro/postgres_cluster@6d242ee · GitHub
Skip to content

Commit 6d242ee

Browse files
committed
Update code comment for temporary replication slots
Reported-by: Alvaro Herrera <alvherre@2ndquadrant.com>
1 parent 1e1b01c commit 6d242ee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/include/replication/slot.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@
2222
*
2323
* Slots marked as PERSISTENT are crash-safe and will not be dropped when
2424
* released. Slots marked as EPHEMERAL will be dropped when released or after
25-
* restarts.
25+
* restarts. Slots marked TEMPORARY will be dropped at the end of a session
26+
* or on error.
2627
*
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.
2832
*/
2933
typedef enum ReplicationSlotPersistency
3034
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6d242ee980193f29618aa899eb61f67a953bd712

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy