Sep - Oct 2024

6 commits
Remove assertion checking query ID in execMain.c
4 Oct 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Removes EXEC_CHECK_QUERY_ID and its three uses from src/backend/executor/execMain.c without an attached removal patch. Alexander's counterexamples in #64 and #68 led directly to Michael's removal decision in #69.

  • Alexander Lakhinsaw the final versionLLM analysis, 100% sureDisproved the expanded assertions with portal-cleanup and PL/pgSQL reproductions in #64 and #68, prompting their removal.
Expand assertion check for query ID reporting in executor
30 Sep 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #62

Matches the assertion macro, three replacements, and guc.sql/expected tests in #62; the only substantive textual difference in the diff is the macro comment changing 'ID set' to 'ID computed from it'.

Set query ID in parallel workers for vacuum, BRIN and btree
29 Sep 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #571 of 1 reviewer saw the final version

Preserves all worker propagation logic and regression tests from #57. The landed diff adds explanatory comments and spacing around queryid fields in BrinShared and BTShared.

  • Sami Imseihsaw the final versiontrailerTested the patch and questioned parallel-worker guarantees in #58 and #59, then accepted the existing testing convention in #61.
Add some sanity checks in executor for query ID reporting
18 Sep 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #460 of 1 reviewer saw the final version

Lands the assertion component of #46, separately from its protocol fix. The third assertion moves from standard_ExecutorFinish() to ExecutorEnd(), changing the executor lifecycle coverage.

  • Sami Imseihsaw an earlier versiontrailerApproved both attached patches in #47, before the third assertion was relocated from standard_ExecutorFinish() to ExecutorEnd() in the committed version.
Add missing query ID reporting in extended query protocol
18 Sep 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.0REL_16_STABLE16.5REL_15_STABLE15.9REL_14_STABLE14.14Also in: query ID goes missing with extended query protocol (not this thread)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #463 of 3 reviewers saw the final version

Exactly matches the first patch's code and tests in the two-patch submission #46, leaving its assertions to a separate commit. Both the patch header and commit credit Sami, whose bind/execute implementation appears in #41.

  • Jian Hesaw the final versiontrailerReported that the protocol fix worked and supplied bind and named-bind tests in #32; its reporting logic subsequently changed only in formatting.
  • Andrei Lepikhovsaw the final versiontrailerRaised cache-invalidation concerns in #14 and reviewed the split patches favorably in #34, with his remaining objection confined to the deferred revalidation patch.
  • Michael Paquiersaw the final versiontrailerReviewed reporting locations and portal coverage throughout the thread, prepared #46, and confirmed testing all five portal strategies when announcing the commits in #51.
pg_stat_statements: Add tests with extended query protocol
13 Sep 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #401 of 1 reviewer saw the final version

Extracts the pg_stat_statements extended-protocol tests and build registration from #40, excluding its assertions and direct pg_stat_activity check. It adds an unnamed-bind case, disables utility tracking, and adjusts expected counts.

  • Sami Imseihsaw the final versionLLM analysis, 98% sureExplicitly endorsed the pg_stat_statements extended tests in #41 and confirmed their adequacy after exploring BackgroundPsql in #43, before the test-only commit.

Credits across 6 commits

Author
Michael PaquierLLM4
Sami Imseih1
Reviewer
Sami Imseih2
Andrei Lepikhov1
jian he1
Michael Paquier1
Reported by
Alexander Lakhin1
Erik Wienhold1
kaido vaikla1
Committer
Michael Paquier6

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