model-writtenrun 4871 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Dec 2021 - Jan 2022 · 7 entries
- Dilip Kumar proposed exposing each backend's subtransaction cache count and overflow flag through pg_stat_activity so administrators could identify sessions causing expensive visibility checks #1.
- Zhihong Yu reviewed wording, Nikolay Samokhvalov supported the diagnostics and suggested exposing lastOverflowedXid, and Justin Pryzby questioned NULL counts and requested a separate function to avoid widening pg_stat_activity #2 #3 #4.
- Dilip replaced the view columns with two scalar functions reporting cached count and overflow status; lastOverflowedXid remained a possible extension rather than part of the patch #9.
- Nathan Bossart proposed one combined function, Ashutosh Sharma identified return-type and naming issues, and Justin explained how callers could use a record without an extra view; Dilip consequently supplied a record-returning pg_stat_get_backend_subxact function and then corrected one remaining comment #10 #11 #14 #15 #16.
- Nathan found duplicate SGML closing tags and clarified that the count measures cached subtransactions, while Julien Rouhaud reviewed the wording and suggested optional overflow warnings for easier diagnosis #17 #18.
- Tom Lane argued that effort should address the underlying performance problem and warned that monitoring interfaces could constrain a future redesign; Nathan and Julien discussed cache sizing and lookup improvements while maintaining that diagnostics would still help #20 #21 #22 #23 #24.
- Robert committed Dilip's final patch #16 as 10ea0f924a, preserving its implementation while correcting and polishing the documentation and adding a catalog-version bump, then announced the landing #62.
Mar 2022 · 1 entry
- After that opposition and a persistent documentation-build failure, Andres Freund suggested rejecting the CommitFest entry, and Dilip marked it rejected in March 2022 #26 #27.
Nov - Dec 2022 · 6 entries
- Robert Haas revived the proposal in November, arguing that overflow was unlikely to disappear and administrators needed direct diagnostics; Tom then inspected the final attached patch and found mainly documentation problems #28 #29.
- The revived discussion reconsidered view columns, a boolean flag, counts, and combined text representations: Justin defended the separate function, David G. Johnston emphasized making exceptional status visible, Tom favored a boolean, and Andres stressed counts and advance warning, while Robert rejected mixing typed values into text #31 #33 #37 #38 #39 #42.
- Andres proposed a broader visibility summary view, while Robert and Dilip favored per-backend information that identified offending sessions; neither proposed view replaced the attached function patch #44 #47 #48 #49.
- Bruce Momjian raised the lack of documentation for the cache limit, and discussion expanded to workload-dependent costs, aggregate lookup timing, and subtransaction-range optimizations; Robert maintained that identifying the backends causing overflow was a separate diagnostic need that polling could serve #51 #52 #53 #54 #55.
- Robert proposed committing the final attached function patch because it left existing view definitions unchanged; Nathan and Julien supported proceeding, and Justin supplied an inline documentation correction that Robert accepted #56 #57 #58 #59 #61.
- Ted Yu immediately supplied a missing-word correction for the new overflow member's comment #63, which Robert committed unchanged as eb60eb08a9 and acknowledged #64.
Feb 2023 · 1 entry
- Both the monitoring function and its comment fix had landed by the thread's end; Kirill Reshke's final message asked about future server-side logging or backend termination controls for overflow, with no implementation or resolution shown #66.