Make the world safe for passing whole rows of views to functions. This
Tom Lane <tgl@sss.pgh.pa.us>
Make the world safe for passing whole rows of views to functions. This already worked fine for whole rows of tables, but not so well for views...
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/planner.c | modified | +6 −2 |
| src/backend/optimizer/util/var.c | modified | +109 −12 |
| src/backend/rewrite/rewriteManip.c | modified | +8 −3 |
| src/include/optimizer/var.h | modified | +5 −4 |
| src/pl/plpgsql/src/gram.y | modified | +7 −8 |
| src/pl/plpgsql/src/pl_comp.c | modified | +19 −14 |
| src/pl/plpgsql/src/scan.l | modified | +7 −1 |