SPI_START_TRANSACTION(3)
β¨ SPI_START_TRANSACTION(3) β¨
okay bestie, welcome to the PostgreSQL 18.6 Documentation corner of the group chat π«Ά this one's a lil historical artifact, a fossil, a vibe from back in the day. Let's get into it π
π NAME π
SPI_start_transaction β the obsolete function π she's retired, she's living her best life doing absolutely nothing, and honestly? iconic.
πΈ SYNOPSIS πΈ
void SPI_start_transaction(void)
π¦ DESCRIPTION π¦
So here's the tea, bestie β SPI_start_transaction does nothing. Like, literally nothing. Zero. Nada. She is the human equivalent of a read receipt π and she exists for one reason only: code compatibility with earlier PostgreSQL releases. That's it. That's the whole job.
Back in the day β the before times π°οΈ β you had to call her after calling SPI_commit or SPI_rollback. It was required. Mandatory. The rules were the rules.
BUT β and this is the glow-up β¨ β those functions now start a new transaction automatically all on their own. No assist needed. Independent queens π
So SPI_start_transaction just chills there, keeping old code from breaking, no cap.
and that's the whole page, fr fr π this was PostgreSQL 18.6 documentation, dated 2026 π mwah, bye bestie, go write some slay code ππ¦β¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql18-docs 18.6-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms