PostgreSQL 18 中文参考文档(未翻译部分保留英文)🌐 切换到英文原版 →

SPI_start_transaction

SPI_start_transaction — obsolete function

Synopsis

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.