You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Small touch-up on commits 2550508 and 50fd428. Fix the
formatting of the example messages in the documentation and adjust the
wording to match the code.
Copy file name to clipboardExpand all lines: doc/src/sgml/logicaldecoding.sgml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU
290
290
<para>
291
291
A logical slot will emit each change just once in normal operation.
292
292
The current position of each slot is persisted only at checkpoint, so in
293
-
the case of a crash the slot may return to an earlier LSN, which will
293
+
the case of a crash the slot might return to an earlier LSN, which will
294
294
then cause recent changes to be sent again when the server restarts.
295
295
Logical decoding clients are responsible for avoiding ill effects from
296
296
handling the same message more than once. Clients may wish to record
@@ -409,7 +409,7 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU
409
409
should be used with caution. Unlike automatic synchronization, it does not
410
410
include cyclic retries, making it more prone to synchronization failures,
411
411
particularly during initial sync scenarios where the required WAL files
412
-
or catalog rows for the slot may have already been removed or are at risk
412
+
or catalog rows for the slot might have already been removed or are at risk
413
413
of being removed on the standby. In contrast, automatic synchronization
414
414
via <varname>sync_replication_slots</varname> provides continuous slot
415
415
updates, enabling seamless failover and supporting high availability.
@@ -430,8 +430,8 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU
430
430
standby, the slot will not be persisted to avoid data loss. In such
431
431
cases, the following log message may appear:
432
432
<programlisting>
433
-
LOG: could not synchronize replication slot "failover_slot"
434
-
DETAIL: Synchronization could lead to data loss as the remote slot needs WAL at LSN 0/03003F28 and catalog xmin 754, but the standby has LSN 0/03003F28 and catalog xmin 756
433
+
LOG: could not synchronize replication slot "failover_slot"
434
+
DETAIL: Synchronization could lead to data loss, because the remote slot needs WAL at LSN 0/03003F28 and catalog xmin 754, but the standby has LSN 0/03003F28 and catalog xmin 756.
435
435
</programlisting>
436
436
If the logical replication slot is actively used by a consumer, no
437
437
manual intervention is needed; the slot will advance automatically,
0 commit comments