Re: Unexpected behavior when setting "idle_replication_slot_timeout"

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Nisha Moond <nisha.moond412@gmail.com>, Gunnar Morling <gunnar.morling@googlemail.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2025-07-04T15:22:26Z
Lists: pgsql-bugs

Attachments


On 2025/07/04 23:12, Fujii Masao wrote:
> But I wonder why the current unit of this GUC is minutes (GUC_UNIT_MIN).
> Since at least two users (including myself) tried to set it to a value
> less than 1 minute, it might worth considering changing the unit to seconds
> (GUC_UNIT_S). Also which would reduces the chance of the reported trouble.

Attached patch changes unit of idle_replication_slot_timeout to seconds.

Regards,

-- 
Fujii Masao
NTT DATA Japan Corporation

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. doc: Clarify meaning of "idle" in idle_replication_slot_timeout.

  2. Change unit of idle_replication_slot_timeout to seconds.