Fix an oversight in two different recent patches: nodes that support SRFs
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Oct 2008 15:29:23 +0000 (15:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Oct 2008 15:29:23 +0000 (15:29 +0000)
commit36b4b07ab0b1b7d268891aa139611de9155be15f
treee5ea6d735876f3ef1d3ca311cfe6fe61e610844a
parentd72ae4a4453e164d40fa473251e22d23677c860a
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.
src/backend/executor/nodeAgg.c
src/backend/executor/nodeCtescan.c
src/backend/executor/nodeGroup.c
src/backend/executor/nodeWorktablescan.c