fix compile errors in ruleutils.c
authorTomas Vondra <[email protected]>
Wed, 9 Nov 2016 13:46:40 +0000 (14:46 +0100)
committerTomas Vondra <[email protected]>
Wed, 9 Nov 2016 13:46:40 +0000 (14:46 +0100)
The errors were due to a3c7a993d, which removed the last flag from
processIndirection().

The ruleutils code however seem significantly different from master,
for no apparent reason. Perhaps we should look into that later.

src/backend/utils/adt/ruleutils.c

index a3e47612111e3211429111b5e0685dda857387f4..c3834f097e0a51404cb8fef6378bdab51c4bf21a 100644 (file)
@@ -4706,13 +4706,13 @@ get_query_def_from_valuesList(Query *query, StringInfo buf)
                if (values_cell)
                {
                        /* we discard the stripped expression in this case */
-                       processIndirection((Node *) lfirst(values_cell), &context, true);
+                       processIndirection((Node *) lfirst(values_cell), &context);
                        values_cell = lnext(values_cell);
                }
                else
                {
                        /* we keep a list of the stripped expressions in this case */
-                       strippedexprs = lappend(strippedexprs, processIndirection((Node *) tle->expr, &context, true));
+                       strippedexprs = lappend(strippedexprs, processIndirection((Node *) tle->expr, &context));
                }
        }
        appendStringInfo(buf, ") ");