@@ -44,14 +44,14 @@ typedef struct Expr { NodeTag type; } Expr;
44
44
* A SubLink represents a subselect appearing in an expression, and in some
45
45
* cases also the combining operator(s) just above it. The subLinkType
46
46
* indicates the form of the expression represented:
47
- * EXISTS_SUBLINK EXISTS(SELECT ...)
48
- * ALL_SUBLINK (lefthand) op ALL (SELECT ...)
49
- * ANY_SUBLINK (lefthand) op ANY (SELECT ...)
50
- * ROWCOMPARE_SUBLINK (lefthand) op (SELECT ...)
51
- * EXPR_SUBLINK (SELECT with single targetlist item ...)
52
- * MULTIEXPR_SUBLINK (SELECT with multiple targetlist items ...)
53
- * ARRAY_SUBLINK ARRAY(SELECT with single targetlist item ...)
54
- * CTE_SUBLINK WITH query (never actually part of an expression)
47
+ * EXISTS_SUBLINK EXISTS(SELECT ...)
48
+ * ALL_SUBLINK (lefthand) op ALL (SELECT ...)
49
+ * ANY_SUBLINK (lefthand) op ANY (SELECT ...)
50
+ * ROWCOMPARE_SUBLINK (lefthand) op (SELECT ...)
51
+ * EXPR_SUBLINK (SELECT with single targetlist item ...)
52
+ * MULTIEXPR_SUBLINK (SELECT with multiple targetlist items ...)
53
+ * ARRAY_SUBLINK ARRAY(SELECT with single targetlist item ...)
54
+ * CTE_SUBLINK WITH query (never actually part of an expression)
55
55
* For ALL, ANY, and ROWCOMPARE, the lefthand is a list of expressions of the
56
56
* same length as the subselect's targetlist. ROWCOMPARE will *always* have
57
57
* a list with more than one entry; if the subselect has just one target
@@ -98,19 +98,19 @@ typedef enum SubLinkType
98
98
EXPR_SUBLINK,
99
99
MULTIEXPR_SUBLINK,
100
100
ARRAY_SUBLINK,
101
- CTE_SUBLINK /* for SubPlans only */
101
+ CTE_SUBLINK /* for SubPlans only */
102
102
} SubLinkType;
103
103
104
104
105
105
typedef struct SubLink
106
106
{
107
- Expr xpr;
108
- SubLinkType subLinkType; /* see above */
109
- int subLinkId; /* ID (1..n); 0 if not MULTIEXPR */
110
- Node *testexpr; /* outer-query test for ALL/ANY/ROWCOMPARE */
111
- List *operName; /* originally specified operator name */
112
- Node *subselect; /* subselect as Query* or raw parsetree */
113
- int location; /* token location, or -1 if unknown */
107
+ Expr xpr;
108
+ SubLinkType subLinkType; /* see above */
109
+ int subLinkId; /* ID (1..n); 0 if not MULTIEXPR */
110
+ Node *testexpr; /* outer-query test for ALL/ANY/ROWCOMPARE */
111
+ List *operName; /* originally specified operator name */
112
+ Node *subselect; /* subselect as Query* or raw parsetree */
113
+ int location; /* token location, or -1 if unknown */
114
114
} SubLink;
115
115
116
116
typedef struct BoolExpr {
0 commit comments