mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Finished the Between patch Christopher started.
Implements between (symmetric / asymmetric) as a node. Executes the left or right expression once, makes a Const out of the resulting Datum and executes the >=, <= portions out of the Const sets. Of course, the parser does a fair amount of preparatory work for this to happen. Rod Taylor
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: nodes.h,v 1.110 2002/07/11 07:39:27 ishii Exp $
|
||||
* $Id: nodes.h,v 1.111 2002/07/18 04:41:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -226,6 +226,7 @@ typedef enum NodeTag
|
||||
T_GroupClause,
|
||||
T_NullTest,
|
||||
T_BooleanTest,
|
||||
T_BetweenExpr,
|
||||
T_CaseExpr,
|
||||
T_CaseWhen,
|
||||
T_FkConstraint,
|
||||
|
Reference in New Issue
Block a user