From bf8236526be85bc3f061a918dbf49a28bc9bc220 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 25 Mar 2007 23:27:59 +0000 Subject: 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 | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml index c7c4304b3a7..14e975b5fc9 100644 --- a/doc/src/sgml/spi.sgml +++ b/doc/src/sgml/spi.sgml @@ -1,4 +1,4 @@ - + Server Programming Interface @@ -554,21 +554,11 @@ typedef struct - - SPI_ERROR_CURSOR - - - if DECLARE, CLOSE, or FETCH - was attempted - - - - SPI_ERROR_TRANSACTION - if any command involving transaction manipulation was attempted + if a transaction manipulation command was attempted (BEGIN, COMMIT, ROLLBACK, -- cgit v1.2.3