Nov 2024

1 commit
Avoid mislabeling of lateral references when pulling up a subquery.
28 Nov 2024Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7
LLM analysis, 100% surewritten from the discussion, no matching patch

Bertrand Mamasam supplied the reproducer in #3, Tom Lane identified the regression in #4, and announced the committed fix in #5; no patch was posted. The commit changes add_nulling_relids in src/backend/optimizer/prep/prepjointree.c to restrict marking to rcon->relids, excluding lateral references, and adds regression coverage in subselect.sql and subselect.out.

Credits across 1 commit

Committer
Tom Lane1