May 2024

1 commit
Add test case showing that commit d0d44049d fixed a live bug.
18 May 2024Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1Also in: BUG #18465: Wrong results from SELECT DISTINCT MIN in scalar subquery using HashAggregate (written from the discussion, no matching patch)

Jul 2023

2 commits
Allow plan nodes with initPlans to be considered parallel-safe.
14 Jul 2023Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #121 of 2 reviewers saw the final version

This commits the second component of #12, with identical diff content across all eight files. The separate MinMax prerequisite is omitted from this commit because it landed independently as d0d44049d1.

  • Robert Haassaw an earlier versionLLM analysis, 96% sureRobert responded positively to #1 and requested examples with additional plan shapes in #2, before the parameter-accounting fix and injected-Gather logic changes.
  • Richard Guosaw the final versionLLM analysis, 100% sureRichard reviewed and experimentally challenged the Gather handling in #3 and #8, then explicitly endorsed the revised parallel-safe-initplan patch in #13.
Account for optimized MinMax aggregates during SS_finalize_plan.
14 Jul 2023Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.4REL_15_STABLE15.8REL_14_STABLE14.13REL_13_STABLE13.16+1 moreAlso in: BUG #18465: Wrong results from SELECT DISTINCT MIN in scalar subquery using HashAggregate (written from the discussion, no matching patch)
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #121 of 1 reviewer saw the final version

This commits the first component of the two-patch series in #12; the diff matches exactly after normalizing index headers. It adds find_minmax_agg_replacement_param() in src/backend/optimizer/plan/setrefs.c and accounts for replacement Params in subselect.c.

  • Richard Guosaw the final versionLLM analysis, 100% sureIn #13, Richard tested the MinMax fix from #12, confirmed correct results and Gather.initParam population, and supported committing it.

Credits across 3 commits

Author
Tom LaneLLM2
Committer
Tom Lane3

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