Sep 2023

1 commit
Fix incorrect logic in plan dependency recording
13 Sep 2023David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Tom Lane identified the inverted OidIsValid checks in fix_expr_common in #1, and David Rowley agreed to fix them in #2. The single hunk in src/backend/optimizer/plan/setrefs.c removes the negation from both hashfuncid and negfuncid checks, exactly implementing the proposed correction.

  • Tom Lanesaw the final versionLLM analysis, 95% sureIn #1, he diagnosed both inverted conditions and proposed recording valid function OIDs, the precise correction adopted in the commit.

Credits across 1 commit

Reported by
Tom Lane1
Committer
David Rowley1