Fix ExecMakeTableFunctionResult() to work with generic expressions as
Tom Lane <tgl@sss.pgh.pa.us>
Fix ExecMakeTableFunctionResult() to work with generic expressions as well as function calls. This is needed for cases where the planner has constant-folded or inlined the original function call. Possibly we should back-patch this change into 7.3 branch as well.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execQual.c | modified | +99 −58 |
| src/backend/executor/nodeFunctionscan.c | modified | +2 −2 |
| src/include/executor/executor.h | modified | +2 −2 |