diff --git a/src/backend/executor/execAmi.c b/src/backend/executor/execAmi.c index d14b19492ba..c92c4781780 100644 --- a/src/backend/executor/execAmi.c +++ b/src/backend/executor/execAmi.c @@ -808,6 +808,7 @@ ExecSquelchNode(PlanState *node, bool force) case T_GatherState: case T_GatherMergeState: case T_NamedTuplestoreScanState: + case T_CustomScanState: node->squelched = true; break;