fix_parsetree_attnums was not nearly smart enough about walking parse
Tom Lane <tgl@sss.pgh.pa.us>
fix_parsetree_attnums was not nearly smart enough about walking parse trees. Also rewrite find_all_inheritors() in a more intelligible style.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/command.c | modified | +4 −4 |
| src/backend/commands/rename.c | modified | +3 −4 |
| src/backend/optimizer/prep/prepunion.c | modified | +149 −128 |
| src/include/optimizer/prep.h | modified | +2 −3 |