]> granicus.if.org Git - postgresql/commit
Add SPI-level support for executing SQL commands with one-time-use plans,
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Apr 2008 03:09:30 +0000 (03:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Apr 2008 03:09:30 +0000 (03:09 +0000)
commitd5466e38f0fbc196b250d082bdab62728de036f9
treec64da87193d8ea1c8cc95344a9234eb08ce2470d
parent6b73d7e5676298fe7891014adc56a0a32c807117
Add SPI-level support for executing SQL commands with one-time-use plans,
that is commands that have out-of-line parameters but the plan is prepared
assuming that the parameter values are constants.  This is needed for the
plpgsql EXECUTE USING patch, but will probably have use elsewhere.

This commit includes the SPI functions and documentation, but no callers
nor regression tests.  The upcoming EXECUTE USING patch will provide
regression-test coverage.  I thought committing this separately made
sense since it's logically a distinct feature.
doc/src/sgml/spi.sgml
src/backend/executor/spi.c
src/include/executor/spi.h