From ac61a04a718b7d7021ee6533a318668d53a09cdd Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 12 Nov 1999 06:39:34 +0000 Subject: Fix ExecSubPlan to handle nulls per the SQL spec --- it didn't combine nulls with non-nulls using proper three-valued boolean logic. Also clean up ExecQual to make it clearer that ExecQual *does* follow the SQL spec for boolean nulls. See '[BUGS] (null) != (null)' thread around 10/26/99 for more detail. --- src/include/executor/nodeSubplan.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/executor/nodeSubplan.h') diff --git a/src/include/executor/nodeSubplan.h b/src/include/executor/nodeSubplan.h index 98251c24872..b25e4dee379 100644 --- a/src/include/executor/nodeSubplan.h +++ b/src/include/executor/nodeSubplan.h @@ -9,7 +9,8 @@ #include "nodes/plannodes.h" -extern Datum ExecSubPlan(SubPlan *node, List *pvar, ExprContext *econtext); +extern Datum ExecSubPlan(SubPlan *node, List *pvar, ExprContext *econtext, + bool *isNull); extern bool ExecInitSubPlan(SubPlan *node, EState *estate, Plan *parent); extern void ExecReScanSetParamPlan(SubPlan *node, Plan *parent); extern void ExecSetParamPlan(SubPlan *node); -- cgit v1.2.3