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
Historical version. PostgreSQL 11 reached end of support in November 2023. See the current version for supported releases.

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.