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

Commit 16a2359

Browse files
committed
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
1 parent 8efe8f7 commit 16a2359

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/src/sgml/spi.sgml

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.41 2005/05/02 00:37:06 neilc Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.42 2005/07/29 13:00:03 momjian Exp $
33
-->
44

55
<chapter id="spi">
@@ -537,8 +537,15 @@ typedef struct
537537
<term><symbol>SPI_ERROR_TRANSACTION</symbol></term>
538538
<listitem>
539539
<para>
540-
if <command>BEGIN</>, <command>COMMIT</>, or
541-
<command>ROLLBACK</> was attempted
540+
if any command involving transaction manipulation was attempted
541+
(<command>BEGIN</>,
542+
<command>COMMIT</>,
543+
<command>ROLLBACK</>,
544+
<command>SAVEPOINT</>,
545+
<command>PREPARE TRANSACTION</>,
546+
<command>COMMIT PREPARED</>,
547+
<command>ROLLBACK PREPARED</>,
548+
or any variant thereof)
542549
</para>
543550
</listitem>
544551
</varlistentry>

0 commit comments

Comments
 (0)