mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	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
This commit is contained in:
		@@ -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">
 | 
					<chapter id="spi">
 | 
				
			||||||
@@ -537,8 +537,15 @@ typedef struct
 | 
				
			|||||||
     <term><symbol>SPI_ERROR_TRANSACTION</symbol></term>
 | 
					     <term><symbol>SPI_ERROR_TRANSACTION</symbol></term>
 | 
				
			||||||
     <listitem>
 | 
					     <listitem>
 | 
				
			||||||
      <para>
 | 
					      <para>
 | 
				
			||||||
       if <command>BEGIN</>, <command>COMMIT</>, or
 | 
						   if any command involving transaction manipulation was attempted
 | 
				
			||||||
       <command>ROLLBACK</> was attempted
 | 
						   (<command>BEGIN</>,
 | 
				
			||||||
 | 
						   <command>COMMIT</>,
 | 
				
			||||||
 | 
						   <command>ROLLBACK</>,
 | 
				
			||||||
 | 
						   <command>SAVEPOINT</>,
 | 
				
			||||||
 | 
						   <command>PREPARE TRANSACTION</>,
 | 
				
			||||||
 | 
						   <command>COMMIT PREPARED</>,
 | 
				
			||||||
 | 
						   <command>ROLLBACK PREPARED</>,
 | 
				
			||||||
 | 
						   or any variant thereof)
 | 
				
			||||||
      </para>
 | 
					      </para>
 | 
				
			||||||
     </listitem>
 | 
					     </listitem>
 | 
				
			||||||
    </varlistentry>
 | 
					    </varlistentry>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user