Aug 2024

5 commits
injection_points: Add some fixed-numbered statistics
5 Aug 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #421 of 2 reviewers saw the final version

Matches the fixed-numbered injection_points example in #42, including injection_stats_fixed.c and TAP coverage. The commit adds two entries to src/tools/pgindent/typedefs.list and adjusts whitespace.

  • Dmitry Dolgovsaw the final versiontrailerIn #39, he approved the revised example and reported successfully implementing a fixed-numbered statistic in another extension; subsequent changes were light.
  • Bertrand Drouvotno review foundtrailerHis recorded reviews address registration and preparatory core refactoring, with no identifiable review of the fixed-numbered injection_points example.
injection_points: Add some cumulative stats for injection points
5 Aug 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #421 of 2 reviewers saw the final version

Matches the variable-numbered injection_points patch in #42. Adds a TAP-file description and moves the example-reference paragraph from that submission's documentation patch into this commit.

  • Dmitry Dolgovsaw the final versiontrailerHe endorsed the revised series in #39 and raised no objection to landing it in #41, although his reported experiment specifically exercised fixed-numbered statistics.
  • Bertrand Drouvotno review foundtrailerHe explicitly had not examined the example in #4, and subsequent messages contain no identifiable review of its implementation.
Add helper routines to retrieve data for custom fixed-numbered pgstats
5 Aug 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surelanded as postedfrom patchset #421 of 2 reviewers saw the final version

The helper patch in #42 produces the committed src/include/utils/pgstat_internal.h modulo whitespace when applied to the commit's parent. Both custom shared-memory and snapshot accessors are unchanged.

  • Dmitry Dolgovsaw the final versiontrailerHe proposed access abstraction in #36 and reviewed and exercised the resulting helpers in #39.
  • Bertrand Drouvotno review foundtrailerNo review of these helpers appears in his messages; they first appear in #38, after his last contribution.
Introduce pluggable APIs for Cumulative Statistics
4 Aug 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #421 of 2 reviewers saw the final version

Combines the core API and documentation patches from #42, with consistent PGSTAT_KIND_BUILTIN_* names and equivalent PgStat_Kind-based loop indexing. The example-reference paragraph is deferred to the example commit, consistent with the polishing described in #43.

  • Dmitry Dolgovsaw the final versiontrailerHe assessed reserved IDs and data access in #36, then reported successful extension integration and approved the revised series in #39 and #41.
  • Bertrand Drouvotsaw an earlier versiontrailerHe reviewed registration in #4 and the initial fixed-statistics design in #12, before the substantial built-in/custom storage separation in #22.
Switch PgStat_Kind from an enum to a uint32 type
1 Aug 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #382 of 2 reviewers saw the final version

Uses the type-conversion patch from #38, additionally converting five statistics-kind loop variables from int to PgStat_Kind in pgstat.c and pgstat_shmem.c. Michael explicitly describes this last-minute consistency edit in #42.

  • Dmitry Dolgovsaw the final versiontrailerHis approval of the revised series in #39 and #41 precedes only the light loop-type cleanup.
  • Bertrand Drouvotsaw the final versiontrailerHe reviewed the type-conversion patch as straightforward in #4, and its implementation remained unchanged until the light pre-commit cleanup.

Jul 2024

5 commits
Improve comment of pgstat_read_statsfile()
12 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Bertrand identified the inaccurate pgstat_read_statsfile() comment in #12 and supplied a .txt attachment outside the indexed patchsets in #34. The Author trailer credits him, and #35 confirms Michael committed simplified wording.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Add a new 'F' entry type for fixed-numbered stats in pgstats file
11 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #290 of 1 reviewer saw the final version

Matches the fixed-entry serialization patch in #29, with review-requested comment and spacing changes. Also bumps PGSTAT_FILE_FORMAT_ID and replaces the fixed_amount assertion with runtime rejection of an invalid entry kind.

  • Bertrand Drouvotsaw an earlier versiontrailerHe reviewed and approved the patch in #26, #31, and #32, before the additional runtime validation appeared in the committed version.
Add PgStat_KindInfo.init_shmem_cb
11 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surelanded as postedfrom patchset #291 of 1 reviewer saw the final version

Applying the initialization-callback patch from #29 to the commit's parent reproduces all nine committed files byte-for-byte. Apparent textual differences are only diff-hunk placement.

  • Bertrand Drouvotsaw the final versiontrailerHe examined initialization callbacks in #12, requested removal of an unnecessary cast in #26, and approved the final patch in #31.
Use pgstat_kind_infos to write fixed shared statistics
9 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surelanded as postedfrom patchset #221 of 1 reviewer saw the final version

Applying the fixed-statistics writer patch from #22 to the commit's parent reproduces pgstat.c and pgstat_internal.h byte-for-byte. Michael confirms its application in #27.

  • Bertrand Drouvotsaw the final versiontrailerHe examined iteration and shared_data_len naming in #23 and explicitly approved the patch in #25.
Replace hardcoded identifiers of pgstats file by #defines
3 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #21 of 1 reviewer saw the final version

Implements the file-marker cleanup from #2, renaming the macros to PGSTAT_FILE_ENTRY_END, PGSTAT_FILE_ENTRY_NAME, and PGSTAT_FILE_ENTRY_HASH. Other differences are comment wrapping; #9 confirms the landing.

  • Bertrand Drouvotsaw the final versiontrailerHe reviewed this cleanup as straightforward in #4, before only macro naming and comment-formatting changes.

Credits across 10 commits

Author
Michael Paquier4 LLM9
Bertrand Drouvot1
Reviewer
Bertrand Drouvot9
Dmitry Dolgov5
Michael Paquiercommitter1
Committer
Michael Paquier10

N LLM means N of the credits come from LLM analysis, not from commit trailers.