Jan 2019

1 commit
Avoid sharing PARAM_EXEC slots between different levels of NestLoop.
11 Jan 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+4 more
LLM analysis, 99% suremodified before commitsignificant changesfrom patchset #340 of 1 reviewer saw the final version

The commit preserves #34's curOuterParams lookup and fresh-slot allocation for Vars and PlaceHolderVars, but extracts that logic into src/backend/optimizer/util/paramassign.c and copies the stored parameter values. It also relocates subselect.c's parameter-assignment machinery, removes obsolete helpers, and updates callers, headers and the Makefile, implementing the substantial refactor proposed in #36 and #37.

  • Thomas Munrosaw an earlier versionLLM analysis, 99% sureIn #35, he tested #34, confirmed that the failure disappeared and verified distinct parameter numbers for the two NestLoops, before the substantial refactoring in 1db5667bac.

Credits across 1 commit

Author
Tom LaneLLM1
Committer
Tom Lane1

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