Dec 2019

4 commits
Further sync postgres_fdw's "Relations" output with the rest of EXPLAIN.
3 Dec 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% surelanded as postedfrom patchset #7

The postgres_fdw.c changes exactly match #7; expected-output differences only rebase the schema-removal changes over aliases introduced by 55a1954da1, as explained in #9.

Fix EXPLAIN's column alias output for mismatched child tables.
3 Dec 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #1

Commits variant B's child-alias reconstruction and regression tests from #1, with reverse-map construction split into ce76c0ba53. The inherit.c implementation now reads appinfo->parent_colnos instead of receiving a separate array.

Add a reverse-translation column number array to struct AppendRelInfo.
2 Dec 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 96% surepart of a posted patchsetmoderate changesfrom patchset #1

Extracts the reverse-column mapping implementation in appendinfo.c from #1 and implements its proposed retention in AppendRelInfo. Adds node support, UNION ALL mapping in prepjointree.c, and array-based lookup in selfuncs.c while leaving the alias fix for a separate commit.

Make postgres_fdw's "Relations" output agree with the rest of EXPLAIN.
2 Dec 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #30 of 1 reviewer saw the final version

Matches #3's deferred relation-name translation and regression output, with revised comments and an added fallback to rte->eref->aliasname when es->rtable_names supplies NULL. Etsuro Fujita's comment correction in #5 was addressed by rewriting that comment.

  • Etsuro Fujitasaw an earlier versionLLM analysis, 95% sureIn #5, he examined #3 and requested a comment correction that was incorporated, but the committed version also added fallback alias logic.

Credits across 4 commits

Author
Tom LaneLLM4
Committer
Tom Lane4

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