Remove the prohibition on executing cursor commands through SPI_execute.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2007 23:27:59 +0000 (23:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2007 23:27:59 +0000 (23:27 +0000)
commitbb2636f3df88d21d336616a892c89fb63a8abacc
tree58052ac11cf8fef12247066592dce4a7c0a18038
parentde6ca39109851b62782ac659a7e48f0571bebc7d
Remove the prohibition on executing cursor commands through SPI_execute.
Vadim had included this restriction in the original design of the SPI code,
but I'm darned if I can see a reason for it.

I left the macro definition of SPI_ERROR_CURSOR in place, so as not to
needlessly break any SPI callers that are checking for it, but that code
will never actually be returned anymore.
doc/src/sgml/spi.sgml
src/backend/executor/spi.c
src/include/executor/spi.h
src/pl/plpgsql/src/pl_exec.c