Updates F_ARRAY_UNNEST to F_UNNEST_ANYARRAY in ruleutils_14.c

Relevant PG commit:
8e1f37c07aafd4bb7aa6e1e1982010af11f8b5c7
pull/5209/head
Halil Ozan Akgul 2021-08-16 13:34:21 +03:00 committed by Sait Talha Nisanci
parent 30f77b29a7
commit b4f76303c6
1 changed files with 1 additions and 1 deletions

View File

@ -7134,7 +7134,7 @@ get_from_clause_item(Node *jtnode, Query *query, deparse_context *context)
RangeTblFunction *rtfunc = (RangeTblFunction *) lfirst(lc);
if (!IsA(rtfunc->funcexpr, FuncExpr) ||
((FuncExpr *) rtfunc->funcexpr)->funcid != F_ARRAY_UNNEST ||
((FuncExpr *) rtfunc->funcexpr)->funcid != F_UNNEST_ANYARRAY ||
rtfunc->funccolnames != NIL)
{
all_unnest = false;