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

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

Commit: 38423232a5c7689bf41a9ab47086fbd6edecfd73
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-12-18T20:21:37Z
Releases: 8.0.0
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