SPI_START_TRANSACTION(3) PostgreSQL 16.2 Documentation SPI_START_TRANSACTION(3)

SPI_start_transaction - obsolete function

void SPI_start_transaction(void)

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.

2024 PostgreSQL 16.2