aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor/nodeSubplan.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-11-12 06:39:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-11-12 06:39:34 +0000
commitac61a04a718b7d7021ee6533a318668d53a09cdd (patch)
treee9e2d39835952746c4e9223e09f4ecabc354b042 /src/include/executor/nodeSubplan.h
parent6b99fcf3e22eeafeb55664d32a2c27ab3ca12706 (diff)
downloadpostgresql-ac61a04a718b7d7021ee6533a318668d53a09cdd.tar.gz
postgresql-ac61a04a718b7d7021ee6533a318668d53a09cdd.zip
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.
Diffstat (limited to 'src/include/executor/nodeSubplan.h')
-rw-r--r--src/include/executor/nodeSubplan.h3
1 files changed, 2 insertions, 1 deletions
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);