16th June 2022: PostgreSQL 14.4 Released!
Supported Versions: Current (14) / 13 / 12 / 11
Development Versions: 15 / devel
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.

SPI_start_transaction

SPI_start_transaction — obsolete function

Synopsis

void SPI_start_transaction(void)

Description

SPI_start_transaction does nothing, and exists only for code compatibility with earlier PostgreSQL releases. It used to be required after calling SPI_commit or SPI_rollback, but now those functions start a new transaction automatically.