]> git.ipfire.org Git - thirdparty/postgresql.git/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:37 +0000 (20:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 18 Dec 2003 20:21:37 +0000 (20:21 +0000)
commit38423232a5c7689bf41a9ab47086fbd6edecfd73
tree7239519e6a9928fd0d5dba6bc18f1347b1d700ae
parent125d69cd9b2a78a53b9cac811b3f028d6f1ea3d2
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