Fix an oversight in two different recent patches: nodes that support SRFs
Tom Lane <tgl@sss.pgh.pa.us>
Fix an oversight in two different recent patches: nodes that support SRFs in their targetlists had better reset ps_TupFromTlist during ReScan calls. There's no need to back-patch here since nodeAgg and nodeGroup didn't even pretend to support SRFs in prior releases.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/nodeAgg.c | modified | +5 −1 |
| src/backend/executor/nodeCtescan.c | modified | +3 −4 |
| src/backend/executor/nodeGroup.c | modified | +4 −1 |
| src/backend/executor/nodeWorktablescan.c | modified | +3 −1 |