Oct 2026

2 commits
pg_stat_statements: Fix toplevel tracking across nesting levels
27 Oct 2026Michael PaquiermasterunreleasedAlso in: pg_stat_statements: Fix nested tracking for implicitly closed cursors (not this thread)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #100 of 1 reviewer saw the final version

The commit exactly matches the second patch of #10 across pg_stat_statements.c, both regression files, and typedefs.list; only commit prose changed, and its author trailers credit Sami Imseih and Michael Paquier. This supersedes the from_discussion attribution in thread #52948: that thread's attachments end in January 2026, whereas this matching implementation was submitted in October 2026.

  • Gaurav Singhsaw an earlier versionLLM analysis, 100% sureGaurav approved #5 in #6, before #10 replaced the shared nesting field with private per-extension state.
Add custom extension states to QueryDesc
27 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #101 of 1 reviewer saw the final version

This commits the infrastructure patch from the two-patch series in #10, moving GetQueryDescExtensionState from an inline definition in src/include/executor/execdesc.h to src/backend/tcop/pquery.c. Other edits relocate static declarations and adjust comments and commit prose without changing the state-storage logic.

  • Sami Imseihsaw the final versiontrailerSami endorsed both patches in #11 after examining additional uses for the infrastructure, and only light changes followed.

Credits across 2 commits

Author
Michael Paquier2
Sami Imseih1
Reviewer
Sami Imseih1
Reported by
Gaurav Singh1
Committer
Michael Paquier2