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
- alpine 3.23: postgresql18-doc 18.6-r0 Β· PostgreSQL
- alpine 3.24: postgresql18-doc 18.6-r0 Β· PostgreSQL
- arch rolling: postgresql 18.6-4 Β· PostgreSQL
- fedora 43: postgresql-server-devel 18.6-1.fc43 Β· PostgreSQL
- fedora 43: postgresql-server-devel 18.6-1.fc43 Β· PostgreSQL
- fedora 44: postgresql-server-devel 18.6-1.fc44 Β· PostgreSQL
- fedora 44: postgresql-server-devel 18.6-1.fc44 Β· PostgreSQL
- nixos 26.05: postgresql 18.6
- ubuntu resolute: postgresql-doc-18 18.6-0ubuntu0.26.04.1 Β· PostgreSQL
- ubuntu stonking: postgresql-doc-18 18.6-3build2 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms