aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-07-29 13:00:03 +0000
committerBruce Momjian <bruce@momjian.us>2005-07-29 13:00:03 +0000
commit16a23597e33ccdb0c19a1f6caa79736d197dc6d7 (patch)
treed067fe91b7bd2fc29919a5e776e4c7332e84b53c /doc/src
parent8efe8f7b3eccdb21b3e4769b434fae5a2d23e865 (diff)
downloadpostgresql-16a23597e33ccdb0c19a1f6caa79736d197dc6d7.tar.gz
postgresql-16a23597e33ccdb0c19a1f6caa79736d197dc6d7.zip
I've had this small patch in my local tree for a while. It documents
new commands which may make an SPI call fail. Alvaro Herrera
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/spi.sgml13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml
index 412b88af8f3..f7efa3c37fa 100644
--- a/doc/src/sgml/spi.sgml
+++ b/doc/src/sgml/spi.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.41 2005/05/02 00:37:06 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.42 2005/07/29 13:00:03 momjian Exp $
-->
<chapter id="spi">
@@ -537,8 +537,15 @@ typedef struct
<term><symbol>SPI_ERROR_TRANSACTION</symbol></term>
<listitem>
<para>
- if <command>BEGIN</>, <command>COMMIT</>, or
- <command>ROLLBACK</> was attempted
+ if any command involving transaction manipulation was attempted
+ (<command>BEGIN</>,
+ <command>COMMIT</>,
+ <command>ROLLBACK</>,
+ <command>SAVEPOINT</>,
+ <command>PREPARE TRANSACTION</>,
+ <command>COMMIT PREPARED</>,
+ <command>ROLLBACK PREPARED</>,
+ or any variant thereof)
</para>
</listitem>
</varlistentry>