Mar 2025

3 commits
Repair commits 317aba70e et al for -DWRITE_READ_PARSE_PLAN_TREES.
13 Mar 2025Tom LaneREL_15_STABLE15.13REL_14_STABLE14.18REL_13_STABLE13.21
LLM analysis, 100% surelanded as postedfrom patchset #211 of 1 reviewer saw the final version

The four-file repair matches #21 modulo branch context and hunk positions; the only differing removed statement uses castNode(Query, lfirst(lc)) instead of lfirst_node(Query, lc). Tom confirmed pushing this repair in #23.

  • Dean Rasheedsaw the final versiontrailerIn #22, Dean considered preserving the serialization check by copying subquery relids, but judged the required tree walking potentially not worth the effort.
Build whole-row Vars the same way during parsing and planning.
12 Mar 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9REL_15_STABLE15.13REL_14_STABLE14.18REL_13_STABLE13.21
LLM analysis, 100% suremodified before commitlight changesfrom patchset #151 of 1 reviewer saw the final version

The main fix matches the standalone main-fix attachment in #15, apart from branch context, two added comments and braces around the normal-subquery fallback in src/backend/nodes/makefuncs.c. The regression tests and executable behavior are unchanged, consistent with Tom's commit announcement in #17.

  • Dean Rasheedsaw the final versiontrailerDean found the missing SRF case in #8, exposed the composite-type assertion and suggested preserving functions in #13, then reported further testing and approval of #15 in #16.
Preserve RangeTblEntry.relid when expanding a view RTE.
12 Mar 2025Tom LaneREL_15_STABLE15.13REL_14_STABLE14.18REL_13_STABLE13.21
LLM analysis, 100% surelanded as postedfrom patchset #151 of 1 reviewer saw the final version

The diff exactly matches the separately attached relid-preservation prerequisite in #15, changing src/backend/rewrite/rewriteHandler.c and src/include/nodes/parsenodes.h.

  • Dean Rasheedsaw the final versiontrailerDean proposed retaining view identity on older branches in #5, approved the initial backport in #8, and reported successful review and testing of the final submission in #16.

Credits across 3 commits

Author
Tom Lane3
Reviewer
Dean Rasheed3
Reported by
Duncan Sands2
Andres Freund1
Dean Rasheed1
Committer
Tom Lane3