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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy