Re: Mention idle_replication_slot_timeout in pg_replication_slots docs
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Nisha Moond <nisha.moond412@gmail.com>
Cc: pgsql-docs@lists.postgresql.org
Date: 2025-07-03T14:13:05Z
Lists: pgsql-docs
On 2025/07/02 16:12, Fujii Masao wrote: > > > On 2025/07/01 13:52, Nisha Moond wrote: >> On Mon, Jun 30, 2025 at 6:12 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote: >>> Is this true starting from v16, when logical replication from standby was introduced? >>> In other words, in v15 and earlier, only max_slot_wal_keep_size could cause >>> the wal_status to become "unreserved" or "lost"? I'm wondering where to back-patch >>> this fix to. >>> >> >> I also think we should back-patch this till v16, since that’s when >> additional slot invalidation causes were also introduced(commit >> be87200). And since then “max_slot_wal_keep_size” is no longer the >> sole reason for “unreserved” or “lost” status. > > Okay, I've prepared two patches: > > - 0001 removes the incorrect line: "If restart_lsn is NULL, this field is null." > This should be back-patched to v13. > - 0002 updates the description of the wal_status to reflect that max_slot_wal_keep_size > is not the only cause of the lost state. This should be back-patched to v16. > > Barrng objections, I will commit these patches. I've pushed the patches. Thanks! Regards, -- Fujii Masao NTT DATA Japan Corporation
Commits
-
doc: Update outdated descriptions of wal_status in pg_replication_slots.
- db51bdf975e2 16.10 landed
- ba9201b57b00 17.6 landed
- 0cd7fcaa8574 18.0 landed
- ff3007c66dc6 19 (unreleased) landed
-
doc: Remove incorrect note about wal_status in pg_replication_slots.
- 4c7d2c206200 13.22 landed
- f062e43484b0 14.19 landed
- 8a010df41e02 15.14 landed
- 4ef4b9ba7737 16.10 landed
- 27224e660aca 17.6 landed
- f0151e2a4ef1 18.0 landed
- 170673a22f28 19 (unreleased) landed
-
Invalidate inactive replication slots.
- ac0e33136abc 18.0 cited
-
Support invalidating replication slots due to horizon and wal_level
- be87200efd93 16.0 cited