mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Update code comment for temporary replication slots
Reported-by: Alvaro Herrera <alvherre@2ndquadrant.com>
This commit is contained in:
parent
1e1b01cd16
commit
6d242ee980
@ -22,9 +22,13 @@
|
|||||||
*
|
*
|
||||||
* Slots marked as PERSISTENT are crash-safe and will not be dropped when
|
* Slots marked as PERSISTENT are crash-safe and will not be dropped when
|
||||||
* released. Slots marked as EPHEMERAL will be dropped when released or after
|
* released. Slots marked as EPHEMERAL will be dropped when released or after
|
||||||
* restarts.
|
* restarts. Slots marked TEMPORARY will be dropped at the end of a session
|
||||||
|
* or on error.
|
||||||
*
|
*
|
||||||
* EPHEMERAL slots can be made PERSISTENT by calling ReplicationSlotPersist().
|
* EPHEMERAL is used as a not-quite-ready state when creating persistent
|
||||||
|
* slots. EPHEMERAL slots can be made PERSISTENT by calling
|
||||||
|
* ReplicationSlotPersist(). For a slot that goes away at the end of a
|
||||||
|
* session, TEMPORARY is the appropriate choice.
|
||||||
*/
|
*/
|
||||||
typedef enum ReplicationSlotPersistency
|
typedef enum ReplicationSlotPersistency
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user