1SPI_ROLLBACK(3)          PostgreSQL 11.3 Documentation         SPI_ROLLBACK(3)
2
3
4

NAME

6       SPI_rollback - abort the current transaction
7

SYNOPSIS

9       void SPI_rollback(void)
10

DESCRIPTION

12       SPI_rollback rolls back the current transaction. It is approximately
13       equivalent to running the SQL command ROLLBACK. After a transaction is
14       rolled back, a new transaction has to be started using
15       SPI_start_transaction before further database actions can be executed.
16
17       This function can only be executed if the SPI connection has been set
18       as nonatomic in the call to SPI_connect_ext.
19
20
21
22PostgreSQL 11.3                      2019                      SPI_ROLLBACK(3)
Impressum