Commit Graph

1 Commits (522fa9a299404dd0a55a7f55a5047c8333d6d915)

Author SHA1 Message Date
Onder Kalaci 522fa9a299 Add ability to reorder target list for INSERT/SELECT queries
The necessity for this functionality comes from the fact that ruleutils.c is not supposed to be
used on "rewritten" queries (i.e. ones that have been passed through QueryRewrite()).
Query rewriting is the process in which views and such are expanded,
and, INSERT/UPDATE targetlists are reordered to match the physical order,
defaults etc. For the details of reordeing, see transformInsertRow().
2016-10-24 15:17:56 +03:00