Document limitation of SPI_execute() using multiple queries in a single
authorBruce Momjian
Sun, 18 Feb 2007 01:47:40 +0000 (01:47 +0000)
committerBruce Momjian
Sun, 18 Feb 2007 01:47:40 +0000 (01:47 +0000)
string.

doc/src/sgml/spi.sgml

index 88461e71ba7085f17b97decdc2c3b36ca555defc..90a68a5d01bb9046d26d123ee62c906d0ce56e11 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Server Programming Interface
@@ -321,7 +321,8 @@ SPI_execute("INSERT INTO foo SELECT * FROM bar", false, 5);
   
 
   
-   You can pass multiple commands in one string.
+   You can pass multiple commands in one string, but later commands cannot
+   depend on the creation of objects earlier in the string.
    SPI_execute returns the
    result for the command executed last.  The count
    limit applies to each command separately, but it is not applied to