Ensure set-returning functions in the targetlist of a plan node will be
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Dec 2003 20:21:53 +0000 (20:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Dec 2003 20:21:53 +0000 (20:21 +0000)
commit3bb73f12412416e8533448f1eb9257d9cf81250f
treede96e31d5d8d90aaf97109082110a1ec669ec8b9
parent99d8d55a21418dc6a5880ccac67fef89efa0e021
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.
src/backend/executor/execAmi.c
src/backend/executor/execUtils.c
src/include/executor/executor.h