Feb 2019

2 commits
Split create_foreignscan_path() into three functions.
7 Feb 2019Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 more
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #100 of 1 reviewer saw the final version

This implements #10's three constructors in src/backend/optimizer/util/pathnode.c, their postgres_fdw callers, documentation, and lateral-reference assertions. Following #11 and #12, it removes automatic lateral_relids repair, asserts that scan constructors receive simple relations, checks join parameterization directly, and adds regression tests.

  • Etsuro Fujitasaw an earlier versionLLM analysis, 99% sureIn #11, he identified unnecessary bitmap manipulation in #10's join constructor and requested regression tests, both addressed before commitment alongside further constructor logic changes.
Ensure that foreign scans with lateral refs are planned correctly.
7 Feb 2019Tom LaneREL_11_STABLE11.2REL_10_STABLE10.7REL9_6_STABLE9.6.12REL9_5_STABLE9.5.16REL9_4_STABLE9.4.21
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #100 of 1 reviewer saw the final version

This retains the compatibility-oriented portion of #10: lateral_relids handling in file_fdw, postgres_fdw, and create_foreignscan_path(), plus relnode.c assertions, while omitting the new constructors and their documentation. The older-branch adaptation replaces the draft's constructor assertion with a runtime error for parameterized foreign joins and adds postgres_fdw regression tests, consistent with #12.

  • Etsuro Fujitasaw an earlier versionLLM analysis, 96% sureIn #11, he reviewed #10 and requested regression tests that were added; the older-branch adaptation and runtime error handling followed his review.

Credits across 2 commits

Author
Tom LaneLLM2
Committer
Tom Lane2

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