doc: Clarify meaning of "idle" in idle_replication_slot_timeout.

Fujii Masao <fujii@postgresql.org>

Commit: afb64a56d9c13d0bcd32c00e9a4482106217ed96
Author: Fujii Masao <fujii@postgresql.org>
Date: 2025-07-10T23:45:56Z
Releases: 18.0
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

Files

PathChange+/−
doc/src/sgml/config.sgml modified +6 −4
doc/src/sgml/system-views.sgml modified +1 −1
src/backend/replication/slot.c modified +1 −1

Documentation touched

Discussion