diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index fbbacbe..bd3ce5a 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -4568,8 +4568,8 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows - Invalidates replication slots that are inactive for longer than - specified amount of time. If this value is specified without units, + Invalidate replication slots that are inactive for longer than this + amount of time. If this value is specified without units, it is taken as seconds. A value of zero (which is default) disables the timeout mechanism. This parameter can only be set in the postgresql.conf file or on the server @@ -4577,18 +4577,16 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows - This invalidation check happens either when the slot is acquired - for use or during a checkpoint. The time since the slot has become - inactive is known from its - inactive_since value using which the - timeout is measured. + The timeout check occurs when the slot is next acquired for use, or + during a checkpoint. The slot's inactive_since + field value is when the slot became inactive. Note that the inactive timeout invalidation mechanism is not applicable for slots on the standby that are being synced from a - primary server (whose synced field is - true). + primary server (e.g. the standby slot synced + field is true). diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml index 9e00f7d..f230e6e 100644 --- a/doc/src/sgml/system-views.sgml +++ b/doc/src/sgml/system-views.sgml @@ -2621,7 +2621,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx inactive_timeout means that the slot has been - inactive for the duration specified by + inactive for longer than the duration specified by parameter.