Fix ExecSubPlan to handle nulls per the SQL spec --- it didn't combine

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ac61a04a718b7d7021ee6533a318668d53a09cdd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-11-12T06:39:34Z
Releases: 7.1.1
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.

Files

PathChange+/−
src/backend/executor/execQual.c modified +33 −59
src/backend/executor/nodeSubplan.c modified +112 −46
src/include/executor/nodeSubplan.h modified +2 −1