mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Add IS UNKNOWN, IS NOT UNKNOWN boolean tests, fix the existing boolean
tests to return the correct results per SQL9x when given NULL inputs. Reimplement these tests as well as IS [NOT] NULL to have their own expression node types, instead of depending on special functions. From Joe Conway, with a little help from Tom Lane.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: nodes.h,v 1.90 2001/06/09 23:21:55 petere Exp $
|
||||
* $Id: nodes.h,v 1.91 2001/06/19 22:39:12 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -218,8 +218,8 @@ typedef enum NodeTag
|
||||
T_RangeTblEntry,
|
||||
T_SortClause,
|
||||
T_GroupClause,
|
||||
T_SubSelectXXX, /* not used anymore; tag# available */
|
||||
T_oldJoinExprXXX, /* not used anymore; tag# available */
|
||||
T_NullTest,
|
||||
T_BooleanTest,
|
||||
T_CaseExpr,
|
||||
T_CaseWhen,
|
||||
T_RowMarkXXX, /* not used anymore; tag# available */
|
||||
|
Reference in New Issue
Block a user