SPI_START_TRANSACTION(3pg14)
π SPI_START_TRANSACTION π
okay so bestie, buckle up, because we're in the PostgreSQL 14 docs (yes, the 3pg14 girlies, iykyk) and today's main character is a function that literally does nothing. no cap. let's get into it π
β¨ NAME β¨
SPI_start_transaction β the obsolete function. she's retired, she's iconic, she's still on the invite list for compatibility reasons π«Ά
πΈ SYNOPSIS πΈ
void SPI_start_transaction(void)
that's it. that's the whole vibe. no arguments, no return value, nothing to pass in. void in, void out, slay π
π¦ DESCRIPTION π¦
so here's the tea: SPI_start_transaction does nothing. like, genuinely nothing. she exists purely for code compatibility with earlier PostgreSQL releases β a little nostalgia keepsake for your old codebases so they don't break when they see her name π₯Ί
fr fr, if you're expecting this to start a transaction, bestie, it does NOT. don't be out here relying on it π
back in the day, you had to call her after calling SPI_commit or SPI_rollback. it was required. mandatory. the whole thing. but now? SPI_commit and SPI_rollback start a new transaction automatically, all by themselves, no assistance needed π so this function just hangs out, looking cute, keeping your old code compiling β¨
okay that's the whole page, it's short, it's sweet, it's giving "placeholder emoji in the group chat" energy π§
sign-off π: this little legend comes to you from the PostgreSQL 14.24 documentation, dated 2026, and yes, she's still here, still doing nothing, still iconic. periodt. π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14-docs 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms