@@ -321,16 +321,18 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU
321
321
<command>VACUUM</command> from removing required rows from the system
322
322
catalogs, <varname>hot_standby_feedback</varname> should be set on the
323
323
standby. In spite of that, if any required rows get removed, the slot gets
324
- invalidated. It's highly recommended to use a physical slot between the primary
325
- and the standby. Otherwise, hot_standby_feedback will work, but only while the
326
- connection is alive (for example a node restart would break it). Then, the
327
- primary may delete system catalog rows that could be needed by the logical
328
- decoding on the standby (as it does not know about the catalog_xmin on the
329
- standby). Existing logical slots on standby also get invalidated if wal_level
330
- on primary is reduced to less than 'logical'. This is done as soon as the
331
- standby detects such a change in the WAL stream. It means, that for walsenders
332
- that are lagging (if any), some WAL records up to the wal_level parameter change
333
- on the primary won't be decoded.
324
+ invalidated. It's highly recommended to use a physical slot between the
325
+ primary and the standby. Otherwise, <varname>hot_standby_feedback</varname>
326
+ will work but only while the connection is alive (for example a node
327
+ restart would break it). Then, the primary may delete system catalog rows
328
+ that could be needed by the logical decoding on the standby (as it does
329
+ not know about the catalog_xmin on the standby). Existing logical slots
330
+ on standby also get invalidated if <varname>wal_level</varname> on the
331
+ primary is reduced to less than <literal>logical</literal>.
332
+ This is done as soon as the standby detects such a change in the WAL stream.
333
+ It means that, for walsenders which are lagging (if any), some WAL records up
334
+ to the <varname>wal_level</varname> parameter change on the primary won't be
335
+ decoded.
334
336
</para>
335
337
336
338
<para>
0 commit comments