postgresql_16:6.10.4.3.1 Description
PostgreSQL 16 > Server Programming > Server Programming Interface > Transaction Management > SPI_start_transaction > 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.