Ensure set-returning functions in the targetlist of a plan node will be

Tom Lane <tgl@sss.pgh.pa.us>

Commit: dc254c8674c0b179fea0f04128d5d68e2c28ee99
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-12-18T20:21:53Z
Releases: 7.4.1
Ensure set-returning functions in the targetlist of a plan node will be
shut down cleanly if the plan node is ReScanned before the SRFs are run
to completion.  This fixes the problem for SQL-language functions, but
still need work on functions using the SRF_XXX() macros.

Files

PathChange+/−
src/backend/executor/execAmi.c modified +19 −7
src/backend/executor/execUtils.c modified +20 −1
src/include/executor/executor.h modified +2 −1