mirror of https://github.com/citusdata/citus.git
Fix deparsing of UPDATE statements with indirection (#7675) involved changing ruleutils of our supported Postgres versions. It means that when integrating a new Postgres version we need to update its ruleutils with the relevant parts of #7675; basically PG ruleutils needs to call the `citus_ruleutils.c` functions added by #7675.pull/8215/head
parent
83b25e1fb1
commit
80945212ae
|
|
@ -3804,6 +3804,8 @@ get_update_query_targetlist_def(Query *query, List *targetList,
|
||||||
SubLink *cur_ma_sublink;
|
SubLink *cur_ma_sublink;
|
||||||
List *ma_sublinks;
|
List *ma_sublinks;
|
||||||
|
|
||||||
|
targetList = ExpandMergedSubscriptingRefEntries(targetList);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prepare to deal with MULTIEXPR assignments: collect the source SubLinks
|
* Prepare to deal with MULTIEXPR assignments: collect the source SubLinks
|
||||||
* into a list. We expect them to appear, in ID order, in resjunk tlist
|
* into a list. We expect them to appear, in ID order, in resjunk tlist
|
||||||
|
|
@ -3827,6 +3829,8 @@ get_update_query_targetlist_def(Query *query, List *targetList,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ensure_update_targetlist_in_param_order(targetList);
|
||||||
}
|
}
|
||||||
next_ma_cell = list_head(ma_sublinks);
|
next_ma_cell = list_head(ma_sublinks);
|
||||||
cur_ma_sublink = NULL;
|
cur_ma_sublink = NULL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue