diff options
author | Amit Kapila | 2024-11-25 05:42:32 +0000 |
---|---|---|
committer | Amit Kapila | 2024-11-25 05:42:32 +0000 |
commit | d05a387d9d78a65db2c960d4f309a2649d183066 (patch) | |
tree | adcc83c08e60586a76083993678896bffe0101e5 /src/include/replication | |
parent | db80507d98462d95f2f7f8c1a58e55bb6337c3eb (diff) |
Doc: Clarify the `inactive_since` field description.
Updated to specify that it represents the exact time a slot became
inactive, rather than the period of inactivity.
Reported-by: Peter Smith
Author: Bruce Momjian, Nisha Moond
Reviewed-by: Amit Kapila, Peter Smith
Backpatch-through: 17
Discussion: https://postgr.es/m/CAHut+PuvsyA5v8y7rYoY9mkDQzUhwaESM05yCByTMaDoRh30tA@mail.gmail.com
Diffstat (limited to 'src/include/replication')
-rw-r--r-- | src/include/replication/slot.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h index 45582cf9d89..d2cf786fd57 100644 --- a/src/include/replication/slot.h +++ b/src/include/replication/slot.h @@ -205,7 +205,11 @@ typedef struct ReplicationSlot */ XLogRecPtr last_saved_confirmed_flush; - /* The time since the slot has become inactive */ + /* + * The time when the slot became inactive. For synced slots on a standby + * server, it represents the time when slot synchronization was most + * recently stopped. + */ TimestampTz inactive_since; } ReplicationSlot; |