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

Lines changed: 10 additions & 3 deletions
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)
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