]> granicus.if.org Git - postgresql/commit
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)
commitdc254c8674c0b179fea0f04128d5d68e2c28ee99
treea9919157f75fa798576ebae8065bb0b6df416f67
parent716a3d6cffcc2fa6b5a9e722e64911071b3bc04c
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