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 πŸ’–πŸ¦‹βœ¨