pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Clarify meaning of "idle" in idle_replication_slot_timeout.
Date: Thu, 10 Jul 2025 23:46:42 +0000
Message-ID: <E1ua0yQ-005fFc-2R@gemulon.postgresql.org> (raw)

doc: Clarify meaning of "idle" in idle_replication_slot_timeout.

This commit updates the documentation to clarify that "idle" in
idle_replication_slot_timeout means the replication slot is inactive,
that is, not currently used by any replication connection.

Without this clarification, "idle" could be misinterpreted to mean
that the slot is not advancing or that no data is being streamed,
even if a connection exists.

Back-patch to v18 where idle_replication_slot_timeout was added.

Author: Laurenz Albe <laurenz.albe@cybertec.at>
Reviewed-by: David G. Johnston <david.g.johnston@gmail.com>
Reviewed-by: Gunnar Morling <gunnar.morling@googlemail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CADGJaX_0+FTguWpNSpgVWYQP_7MhoO0D8=cp4XozSQgaZ40Odw@mail.gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/afb64a56d9c13d0bcd32c00e9a4482106217ed96

Modified Files
--------------
doc/src/sgml/config.sgml       | 10 ++++++----
doc/src/sgml/system-views.sgml |  2 +-
src/backend/replication/slot.c |  2 +-
3 files changed, 8 insertions(+), 6 deletions(-)



view thread (2+ messages)

Message-ID: <E1ua0yQ-005fFc-2R@gemulon.postgresql.org>
Permalink:  ../E1ua0yQ-005fFc-2R@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ua0yQ-005fFc-2R@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Clarify meaning of "idle" in idle_replication_slot_timeout.
  In-Reply-To: <E1ua0yQ-005fFc-2R@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox