Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit aa728d5

Browse files
committed
Document limitation of SPI_execute() using multiple queries in a single
string.
1 parent 9f6ed2f commit aa728d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/spi.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.52 2007/02/01 19:10:24 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.53 2007/02/18 01:47:40 momjian Exp $ -->
22

33
<chapter id="spi">
44
<title>Server Programming Interface</title>
@@ -321,7 +321,8 @@ SPI_execute("INSERT INTO foo SELECT * FROM bar", false, 5);
321321
</para>
322322

323323
<para>
324-
You can pass multiple commands in one string.
324+
You can pass multiple commands in one string, but later commands cannot
325+
depend on the creation of objects earlier in the string.
325326
<function>SPI_execute</function> returns the
326327
result for the command executed last. The <parameter>count</parameter>
327328
limit applies to each command separately, but it is not applied to

0 commit comments

Comments
 (0)