select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Supported versions: Current (18) / 17 / 16 / 15 / 14
Development versions: 19 / devel
Unsupported versions: 13 / 12 / 11
Pre-release documentation. PostgreSQL 19 Beta 3 is a testing release. The final release may differ.

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.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current version.