Add comments explaining overflow entries in the replication lag tracker. Commit 883a95646a8 introduced overflow entries in the replication lag tracker to fix an issue where lag columns in pg_stat_replication could stall when the replay LSN stopped advancing.
This commit adds comments clarifying the purpose and behavior of overflow entries to improve code readability and understanding. Since commit 883a95646a8 was recently applied and backpatched to all supported branches, this follow-up commit is also backpatched accordingly. Author: Xuneng Zhou <[email protected]> Reviewed-by: Fujii Masao <[email protected]> Discussion: https://postgr.es/m/cabptf7vxqqa_depxyz7y8v+eryyxkmwj1p6nc+yc+cvxmip...@mail.gmail.com Backpatch-through: 13 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5f88da5de3f23f74b5cc0958a0b2033801a86220 Modified Files -------------- src/backend/replication/walsender.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
