aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-31 19:37:56 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-31 19:37:56 +0000
commit9b46abb7c47de8aa408a8c83666fd67c5447eb85 (patch)
tree034991f27008de03ff71f505431b10a1b2ae5e5e /src/backend/executor/execMain.c
parentcd97f98844b5640b1cdc701c691c962155dce3b4 (diff)
downloadpostgresql-9b46abb7c47de8aa408a8c83666fd67c5447eb85.tar.gz
postgresql-9b46abb7c47de8aa408a8c83666fd67c5447eb85.zip
Allow SQL-language functions to return the output of an INSERT/UPDATE/DELETE
RETURNING clause, not just a SELECT as formerly. A side effect of this patch is that when a set-returning SQL function is used in a FROM clause, performance is improved because the output is collected into a tuplestore within the function, rather than using the less efficient value-per-call mechanism.
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions