I've had this small patch in my local tree for a while. It documents
authorBruce Momjian
Fri, 29 Jul 2005 13:00:03 +0000 (13:00 +0000)
committerBruce Momjian
Fri, 29 Jul 2005 13:00:03 +0000 (13:00 +0000)
new commands which may make an SPI call fail.

Alvaro Herrera

doc/src/sgml/spi.sgml

index 412b88af8f38d00f1888f9232902437085c18aeb..f7efa3c37fa5c1fd8af78263ac676ccdb812c93a 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -537,8 +537,15 @@ typedef struct
      SPI_ERROR_TRANSACTION
      
       
-       if BEGIN, COMMIT, or
-       ROLLBACK was attempted
+      if any command involving transaction manipulation was attempted
+      (BEGIN,
+      COMMIT,
+      ROLLBACK,
+      SAVEPOINT,
+      PREPARE TRANSACTION,
+      COMMIT PREPARED,
+      ROLLBACK PREPARED,
+      or any variant thereof)