Postgresql 中文操作指南

SPI_start_transaction

SPI_start_transaction — 已废弃的功能

SPI_start_transaction — obsolete function

Synopsis

void SPI_start_transaction(void)

Description

SPI_start_transaction 不执行任何操作,并且仅存在,是为了与早期 PostgreSQL 版本的代码兼容。过去,在调用 SPI_commitSPI_rollback 之后需要执行此操作,但现在这些函数会自动启动一个新事务。

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.