diff options
Diffstat (limited to 'src/include/parser')
| -rw-r--r-- | src/include/parser/parse_node.h | 1 | ||||
| -rw-r--r-- | src/include/parser/parse_relation.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/parser/parse_node.h b/src/include/parser/parse_node.h index a1511cbe64c..a68f7cf5087 100644 --- a/src/include/parser/parse_node.h +++ b/src/include/parser/parse_node.h @@ -103,6 +103,7 @@ struct ParseState bool p_hasAggs; bool p_hasWindowFuncs; bool p_hasSubLinks; + bool p_hasModifyingCTE; bool p_is_insert; bool p_is_update; bool p_locked_from_parent; diff --git a/src/include/parser/parse_relation.h b/src/include/parser/parse_relation.h index 41f482c8df9..50ee4dacd28 100644 --- a/src/include/parser/parse_relation.h +++ b/src/include/parser/parse_relation.h @@ -74,7 +74,7 @@ extern RangeTblEntry *addRangeTableEntryForJoin(ParseState *pstate, extern RangeTblEntry *addRangeTableEntryForCTE(ParseState *pstate, CommonTableExpr *cte, Index levelsup, - Alias *alias, + RangeVar *rv, bool inFromCl); extern bool isLockedRefname(ParseState *pstate, const char *refname); extern void addRTEtoQuery(ParseState *pstate, RangeTblEntry *rte, |
