1SPI_START_TRANSACTION(3) PostgreSQL 14.3 DocumentationSPI_START_TRANSACTION(3)
2
3
4

NAME

6       SPI_start_transaction - start a new transaction
7

SYNOPSIS

9       void SPI_start_transaction(void)
10

DESCRIPTION

12       SPI_start_transaction starts a new transaction. It can only be called
13       after SPI_commit or SPI_rollback, as there is no transaction active at
14       that point. Normally, when an SPI-using procedure is called, there is
15       already a transaction active, so attempting to start another one before
16       closing out the current one will result in an error.
17
18       This function can only be executed if the SPI connection has been set
19       as nonatomic in the call to SPI_connect_ext.
20
21
22
23PostgreSQL 14.3                      2022             SPI_START_TRANSACTION(3)
Impressum