Commit Graph

1 Commits (353033d3f0104f2c596db2da1dfd696343459c53)

Author SHA1 Message Date
Colm McHugh 353033d3f0 [Bug Fix] [SEGFAULT] Querying distributed tables with window partition may cause segfault #7705
In function MasterAggregateMutator(), when the original Node is a Var node use makeVar() instead
of copyObject() when constructing the Var node for the target list of the combine query.
The varnullingrels field of the original Var node is ignored because it is not relevant for the
combine query; copying this cause the problem in issue 7705, where a coordinator query had
a Var with a reference to a non-existent join relation.

(cherry picked from commit c52f36019f)
2025-01-13 15:21:50 +03:00