]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add new return codes SPI_OK_INSERT_RETURNING etc to the SPI API.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Aug 2006 23:47:58 +0000 (23:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 27 Aug 2006 23:47:58 +0000 (23:47 +0000)
commitea2e263539df6a7df33e58e44236c504eb268e68
tree7eaf045b3e96f2cd97bfa7910309e5b891159a55
parent7a2fe85b03b31f748614cae7a7b3808dba4f65ce
Add new return codes SPI_OK_INSERT_RETURNING etc to the SPI API.
Fix all the standard PLs to be able to return tuples from FOO_RETURNING
statements as well as utility statements that return tuples.  Also,
fix oversight that SPI_processed wasn't set for a utility statement
returning tuples.  Per recent discussion.
doc/src/sgml/spi.sgml
src/backend/executor/spi.c
src/include/executor/spi.h
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_exec.c
src/pl/plpython/plpython.c
src/pl/tcl/pltcl.c