Oct - Nov 2026

12 commits
pg_plan_advice: Handle custom scans that replace a join
3 Nov 2026Robert HaasmasterunreleasedREL_19_STABLE19rc2Also in: pg_plan_advice fails on a CustomScan that replaces a join (modified before commit)
pg_stash_advice: Fix race conditions in 001_persist.pl
30 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc2
LLM analysis, 100% surelanded as postedfrom patchset #361 of 1 reviewer saw the final version

The changes to contrib/pg_stash_advice/t/001_persist.pl match #36, with only line wrapping and indentation differences. #37 explicitly confirms cosmetic edits before committing.

  • Alexander Lakhinsaw the final versionLLM analysis, 88% sureReported and reproduced the existing persistence test's startup and restart races in #29, which #36 addresses; his testing concerned committed code rather than an attached patchset.
pg_stash_advice: Don't forget unsaved changes after a failed write.
29 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #262 of 2 reviewers saw the final version

Takes the stashpersist.c hunk from #26 unchanged but omits the new TAP test and its meson.build registration. #34 confirms the test was deliberately dropped.

  • Dongpo Liusaw the final versiontrailerIn #31, tested failure without the fix and success with it, and endorsed the extra-write tradeoff after considering shared bookkeeping.
  • Robert Haassaw the final versioncommittercommitted the patch
pg_plan_advice: Mark PARTITIONWISE inapplicable on plain rels.
29 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #281 of 1 reviewer saw the final version

Takes the complete PARTITIONWISE member of #28 unchanged, including planner applicability checks and partitionwise regression tests; the other two series members landed separately.

  • Jakub Wartaksaw the final versionLLM analysis, 100% sureCompared master with #28 using TPC-H advice replay and reported satisfactory results in #32, also receiving Tested-by credit.
pg_plan_advice: Suppress advice from unflattened set operations.
29 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #281 of 1 reviewer saw the final version

Takes the complete unflattened-set-operation member of #28 unchanged, including pgpa_is_setop_parent(), walker state, and gather tests.

  • Jakub Wartaksaw the final versionLLM analysis, 100% sureReported successful TPC-H testing of #28 in #32 and is credited as Tested-by in the commit.
pg_plan_advice: Fix multiple problems with NO_GATHER advice.
28 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc2
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #281 of 1 reviewer saw the final version

Takes the complete NO_GATHER member of #28 unchanged, adding partial-path suppression, non-partial Parallel Append child handling, documentation, and tests.

  • Jakub Wartaksaw the final versionLLM analysis, 100% sureTested #28 with TPC-H and examined parallel-plan differences in #32, also receiving Tested-by credit.
doc: Note that plan advice does not affect cached plans
16 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc2
LLM analysis, 100% surelanded as postedfrom patchset #221 of 1 reviewer saw the final version

Both SGML additions match #22 exactly. That submission and the commit credit Dongpo Liu and Robert Haas as co-authors, following Dongpo's original patch in #19.

  • Jakub Wartaksaw the final versionLLM analysis, 100% sureSuggested documenting cached-plan behavior in #4 and explicitly approved the final rewrite in #24.
pg_plan_advice: Fix advice feedback JOIN_ORDER over a single sublist.
9 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #210 of 1 reviewer saw the final version

Takes the complete single-sublist JOIN_ORDER member of #21 unchanged, updating pgpa_join_order_permits_join() and its regression cases.

  • Ayush Tiwarisaw an earlier versionLLM analysis, 99% sureWhile reviewing #12, identified the single-sublist matching defect in #13; the subsequent planner-logic fix was submitted separately.
pg_plan_advice: Don't suppress NO_GATHER advice for parent rels.
9 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #21

Takes the parent-relation NO_GATHER member of #21, with unchanged pgpa_scan.c logic. An additional expected-output adjustment accounts for the preceding ElidedNode test.

Add child_append_relid_sets to ElidedNode; use in pg_plan_advice.
8 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #21

Takes the ElidedNode member of #21, preserving its setrefs.c, plannodes.h, and pg_plan_advice implementation. One expected NO_GATHER line is adjusted to reflect the actual commit order.

pg_plan_advice: Avoid miscategorizing partitionwise scans as ordinary.
8 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #21

Takes the complete scan-classification member of #21 unchanged, selecting the child scan strategy from its own relation kind in pgpa_scan.c.

Fix failure of setrefs.c to process child_append_relid_sets
8 Oct 2026Robert HaasmasterunreleasedREL_19_STABLE19rc1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #21

Takes the complete RTI-offset member of #21 unchanged, adding offset_relid_set_list() in setrefs.c and pg_overexplain regression coverage.

Sep 2026

7 commits
pg_plan_advice: Fix defects in JOIN_ORDER advice feedback.
17 Sep 2026Robert HaasmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #121 of 1 reviewer saw the final version

Takes the complete JOIN_ORDER feedback member of #12 unchanged, including the pgpa_walker.c matching rework and join-order and partitionwise tests.

  • Ayush Tiwarisaw the final versiontrailerApplied and examined this patch in #13, identifying a nearby defect that Robert acknowledged and fixed separately.
Change GEQO fitness comparisons to consider disabled_nodes.
17 Sep 2026Robert HaasmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #121 of 1 reviewer saw the final version

Takes the complete GEQO member of #12 unchanged, introducing Fitness and comparing disabled_nodes before cost.

  • Nathan Bossartsaw the final versionLLM analysis, 86% sureRobert reports Nathan's off-list request to assess the GEQO ABI change's impact in #12; the GEQO patch remained unchanged from #8.
pg_plan_advice: Disallow partition name without partition schema.
17 Sep 2026Robert HaasmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #120 of 2 reviewers saw the final version

Takes the complete partition-schema restriction member of #12 unchanged, removing schema-optional parsing and matching and updating documentation and tests.

  • Melanie Plagemansaw an earlier versionLLM analysis, 94% sureIn #9, reviewed the alternatives accompanying #8 and advocated requiring schemas before release, which Robert implemented in #12.
  • Nathan Bossartsaw an earlier versionLLM analysis, 94% sureSupported mandatory partition schemas in #11, arguing against additional name-resolution ambiguity before the implementation appeared in #12.
pg_plan_advice: Disallow empty sublists within JOIN_ORDER()
16 Sep 2026Robert HaasmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #121 of 1 reviewer saw the final version

Takes the complete empty-sublist member of #12 unchanged, adding pgpa_parser.y validation and syntax regression cases.

  • Ayush Tiwarisaw the final versiontrailerExplicitly said the empty-sublist patch looked good in #13 after applying the series.
pg_plan_advice: Document interaction with GEQO.
10 Sep 2026Robert HaasmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #8

Takes the complete GEQO documentation member of #8 unchanged, removing the README placeholder and documenting probabilistic advice enforcement.

pg_plan_advice: Add CHECK_FOR_INTERRUPTS() and check_stack_depth()
9 Sep 2026Robert HaasmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #7

Takes the complete interrupt and stack-check member of #7 unchanged across pgpa_ast.c, pgpa_planner.c, and pgpa_trove.c.

pg_stash_advice: Fix failure to reload empty advice string.
8 Sep 2026Robert HaasmasterunreleasedREL_19_STABLE19beta4
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #7

Takes the complete empty-advice member of #7 unchanged, using NULL to distinguish exhausted TSV fields and extending 001_persist.pl.

Credits across 19 commits

Author
Robert HaasLLM15
Dongpo Liu1
Nikolay Samokhvalov1
Zsolt Parragi1
Reviewer
Ayush Tiwari2
Robert Haascommitter2
Dongpo Liu1
Tested by
Jakub Wartak3
Reported by
Noah Misch7
Nikolay Samokhvalov3
Alexander Lakhin1
Ayush Tiwari1
Zsolt Parragi1
Co author
Robert Haas2
Dongpo Liu1
Committer
Robert Haas19

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