Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d242ee

Browse files
committed
Update code comment for temporary replication slots
Reported-by: Alvaro Herrera <alvherre@2ndquadrant.com>
1 parent1e1b01c commit6d242ee

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
typedefenumReplicationSlotPersistency
3034
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp