mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Get rid of long-since-vestigial Iter node type, in favor of adding a
returns-set boolean field in Func and Oper nodes. This allows cleaner, more reliable tests for expressions returning sets in the planner and parser. For example, a WHERE clause returning a set is now detected and complained of in the parser, not only at runtime.
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.106 2002/05/12 20:10:04 tgl Exp $
|
||||
* $Id: nodes.h,v 1.107 2002/05/12 23:43:04 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -66,7 +66,6 @@ typedef enum NodeTag
|
||||
T_Func,
|
||||
T_FieldSelect,
|
||||
T_ArrayRef,
|
||||
T_Iter,
|
||||
T_RelabelType,
|
||||
T_RangeTblRef,
|
||||
T_FromExpr,
|
||||
|
Reference in New Issue
Block a user