Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.20.1][#19694] YSQL: Missing finalize_primnode calls
Summary: Original commit: 5875a24 / D29710 The finalize_plan function in subselect.c basically collects and summarizes information about parameter references in the subplan. It calls finalize_primnode to recursively process all possible containers where Param nodes may be found. We introduced PushdownExprs, where qual list may contain Param expression, but we didn't update the finalize_plan function to call finalize_primnode on them. The only known manifestation is Parallel Query where Gather node does not transfer parameter values to and from background workers. Jira: DB-8494 Test Plan: Run regression tests Reviewers: jason, tnayak Reviewed By: jason, tnayak Subscribers: smishra, yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D31303
- Loading branch information