Dec 2023

1 commit
Fix description of I/O timing info for shared buffers in EXPLAIN (BUFFERS)
14 Dec 2023Michael PaquierREL_16_STABLE16.2REL_15_STABLE15.6
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

This standalone stable-branch fix changes only the EXPLAIN label from shared/local to shared in src/backend/commands/explain.c. It follows the discussion in #13, #14, and #16, with application confirmed in #19; no separate patchset was attached for it.

  • Nazir Bilal Yavuzsaw the final versionLLM analysis, 99% sureIn #14, he supported changing the stable-branch label to shared and explained why retaining shared/local would continue to mislead users.
  • hubert depesz lubaczewskisaw the final versionLLM analysis, 99% sureIn #16, he assessed parser compatibility, accepted the proposed label change, and offered to update his parser.

Oct 2023

4 commits
pg_stat_statements: Add local_blk_{read|write}_time
19 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #101 of 3 reviewers saw the final version

This takes the pg_stat_statements portion of the third patch in #10, retaining its counter accumulation, 1.11 SQL columns, documentation, and expected output. Michael explicitly confirmed the split from the core instrumentation and EXPLAIN changes in #13.

  • Robert Haassaw an earlier versiontrailerIn #4, he questioned the shared/local meaning of the counters before the substantial redesign into separate counters.
  • Melanie Plagemansaw an earlier versiontrailerIn #2, she confirmed the missing local-buffer timing and suggested stable-branch fixes before the separate-counter design was introduced.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Add local_blk_{read|write}_time I/O timing statistics for local blocks
19 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #101 of 3 reviewers saw the final version

This takes the core instrumentation and EXPLAIN portion of the third patch in #10, leaving pg_stat_statements for a separate commit. It also fixes the shared/local timing comma condition in src/backend/commands/explain.c and adds missing doc/src/sgml/ref/explain.sgml documentation, as explained in #13.

  • Robert Haassaw an earlier versiontrailerIn #4, he investigated the inconsistent shared/local interpretation before the patch was redesigned to expose independent local timing counters.
  • Melanie Plagemansaw an earlier versiontrailerIn #2, she confirmed the original local-buffer timing bug before the significant change from combined timing to separate counters.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Rename I/O timing statistics columns to shared_blk_{read|write}_time
19 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #101 of 3 reviewers saw the final version

This takes the second patch of the three-patch series in #10, renaming shared timing fields throughout instrumentation, EXPLAIN, and pg_stat_statements. Its only differences from that member are comment wrapping and whitespace in contrib/pg_stat_statements/pg_stat_statements.c and src/include/executor/instrument.h.

  • Robert Haassaw an earlier versiontrailerIn #4, he requested consistency about the counters' meaning before the redesign added explicit shared-counter names.
  • Melanie Plagemansaw an earlier versiontrailerIn #2, she reviewed the original combined-counter fix, which preceded the redesign and shared-counter rename.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Count write times when extending relation files for shared buffers
18 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #103 of 3 reviewers saw the final version

This takes the first patch of the three-patch series in #10 intact: the single condition in src/backend/utils/activity/pgstat_io.c now includes IOOP_EXTEND. The remaining rename and local-counter patches were committed separately, and #11 confirms this first landing and backpatch.

  • Robert Haassaw the final versiontrailerIn #6, he explicitly agreed that extensions should count as writes, and that change survived into the committed patch.
  • Melanie Plagemansaw the final versiontrailerIn #2, she reviewed the original timing-fix series, whose extension-timing condition remained unchanged through landing.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 5 commits

Author
Nazir Bilal Yavuz4
Reviewer
Melanie Plageman4
Michael Paquiercommitter4
Robert Haas4
Committer
Michael Paquier5