From 6eb9c5a5657d1fe77b55cc261450f3538d35a94d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:19:15 +0200 Subject: Adding upstream version 13.4. Signed-off-by: Daniel Baumann --- doc/src/sgml/man3/SPI_start_transaction.3 | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/src/sgml/man3/SPI_start_transaction.3 (limited to 'doc/src/sgml/man3/SPI_start_transaction.3') diff --git a/doc/src/sgml/man3/SPI_start_transaction.3 b/doc/src/sgml/man3/SPI_start_transaction.3 new file mode 100644 index 0000000..ac33dca --- /dev/null +++ b/doc/src/sgml/man3/SPI_start_transaction.3 @@ -0,0 +1,46 @@ +'\" t +.\" Title: SPI_start_transaction +.\" Author: The PostgreSQL Global Development Group +.\" Generator: DocBook XSL Stylesheets v1.79.1 +.\" Date: 2021 +.\" Manual: PostgreSQL 13.4 Documentation +.\" Source: PostgreSQL 13.4 +.\" Language: English +.\" +.TH "SPI_START_TRANSACTION" "3" "2021" "PostgreSQL 13.4" "PostgreSQL 13.4 Documentation" +.\" ----------------------------------------------------------------- +.\" * Define some portability stuff +.\" ----------------------------------------------------------------- +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.\" http://bugs.debian.org/507673 +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" ----------------------------------------------------------------- +.\" * set default formatting +.\" ----------------------------------------------------------------- +.\" disable hyphenation +.nh +.\" disable justification (adjust text to left margin only) +.ad l +.\" ----------------------------------------------------------------- +.\" * MAIN CONTENT STARTS HERE * +.\" ----------------------------------------------------------------- +.SH "NAME" +SPI_start_transaction \- start a new transaction +.SH "SYNOPSIS" +.sp +.nf +void SPI_start_transaction(void) +.fi +.SH "DESCRIPTION" +.PP +\fBSPI_start_transaction\fR +starts a new transaction\&. It can only be called after +\fBSPI_commit\fR +or +\fBSPI_rollback\fR, as there is no transaction active at that point\&. Normally, when an SPI\-using procedure is called, there is already a transaction active, so attempting to start another one before closing out the current one will result in an error\&. +.PP +This function can only be executed if the SPI connection has been set as nonatomic in the call to +\fBSPI_connect_ext\fR\&. -- cgit v1.2.3