pgsql: Fix failure with initplans used conditionally during EvalPlanQua

2018-09-15 Thread Tom Lane
Fix failure with initplans used conditionally during EvalPlanQual rechecks. The EvalPlanQual machinery assumes that any initplans (that is, uncorrelated sub-selects) used during an EPQ recheck would have already been evaluated during the main query; this is implicit in the fact that execPlan point

pgsql: Fix failure with initplans used conditionally during EvalPlanQua

2018-09-15 Thread Tom Lane
Fix failure with initplans used conditionally during EvalPlanQual rechecks. The EvalPlanQual machinery assumes that any initplans (that is, uncorrelated sub-selects) used during an EPQ recheck would have already been evaluated during the main query; this is implicit in the fact that execPlan point

pgsql: Fix failure with initplans used conditionally during EvalPlanQua

2018-09-15 Thread Tom Lane
Fix failure with initplans used conditionally during EvalPlanQual rechecks. The EvalPlanQual machinery assumes that any initplans (that is, uncorrelated sub-selects) used during an EPQ recheck would have already been evaluated during the main query; this is implicit in the fact that execPlan point

pgsql: Fix failure with initplans used conditionally during EvalPlanQua

2018-09-15 Thread Tom Lane
Fix failure with initplans used conditionally during EvalPlanQual rechecks. The EvalPlanQual machinery assumes that any initplans (that is, uncorrelated sub-selects) used during an EPQ recheck would have already been evaluated during the main query; this is implicit in the fact that execPlan point

pgsql: Fix failure with initplans used conditionally during EvalPlanQua

2018-09-15 Thread Tom Lane
Fix failure with initplans used conditionally during EvalPlanQual rechecks. The EvalPlanQual machinery assumes that any initplans (that is, uncorrelated sub-selects) used during an EPQ recheck would have already been evaluated during the main query; this is implicit in the fact that execPlan point

pgsql: Fix failure with initplans used conditionally during EvalPlanQua

2018-09-15 Thread Tom Lane
Fix failure with initplans used conditionally during EvalPlanQual rechecks. The EvalPlanQual machinery assumes that any initplans (that is, uncorrelated sub-selects) used during an EPQ recheck would have already been evaluated during the main query; this is implicit in the fact that execPlan point

pgsql: Fix failure with initplans used conditionally during EvalPlanQua

2018-09-15 Thread Tom Lane
Fix failure with initplans used conditionally during EvalPlanQual rechecks. The EvalPlanQual machinery assumes that any initplans (that is, uncorrelated sub-selects) used during an EPQ recheck would have already been evaluated during the main query; this is implicit in the fact that execPlan point