1SPI_COMMIT(3) PostgreSQL 11.3 Documentation SPI_COMMIT(3)
2
3
4
6 SPI_commit - commit the current transaction
7
9 void SPI_commit(void)
10
12 SPI_commit commits the current transaction. It is approximately
13 equivalent to running the SQL command COMMIT. After a transaction is
14 committed, 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_COMMIT(3)