mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user