Re: Unexpected behavior when setting "idle_replication_slot_timeout"
От | Amit Kapila |
---|---|
Тема | Re: Unexpected behavior when setting "idle_replication_slot_timeout" |
Дата | |
Msg-id | CAA4eK1Lp+ZY2Mr3jtspF_oKDUx7241h_Ke7g5g+D-XHFA7xC+g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Unexpected behavior when setting "idle_replication_slot_timeout" (Laurenz Albe <laurenz.albe@cybertec.at>) |
Ответы |
Re: Unexpected behavior when setting "idle_replication_slot_timeout"
|
Список | pgsql-bugs |
On Fri, Jul 4, 2025 at 9:37 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote: > > Stepping back a bit, I am not happy with the documentation. I looked at it, > trying to figure out what the parameter does, and I am none the wiser. > What exactly does it mean for a replication slot to idle? > > - Does it mean that the standby is not connected? > It means the above. The slot is used for purposes other than the standby as well, so we can't mention something only specific to the standby. This parameter mainly cares when the slot becomes inactive. You can get more information by looking at pg_replication_slots.inactive_since (as indicated by sentence: "The duration of slot inactivity is calculated using the slot's pg_replication_slots.inactive_since value."). > > I think we could do better here. > Sure, feel free to propose what you think makes it better. -- With Regards, Amit Kapila.
В списке pgsql-bugs по дате отправления: