99be6feec9
If a view is defined atop another view, and then CREATE OR REPLACE VIEW is used to add columns to the lower view, then when the upper view's referencing RTE is expanded by ApplyRetrieveRule we will have a subquery RTE with fewer eref->colnames than output columns. This confuses various code that assumes those lists are always in sync, as they are in plain parser output. We have seen such problems before (cf commit |
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rewriteDefine.c | ||
rewriteHandler.c | ||
rewriteManip.c | ||
rewriteRemove.c | ||
rewriteSearchCycle.c | ||
rewriteSupport.c | ||
rowsecurity.c |