SPI_FREETUPLE(3)
π SPI_FREETUPLE(3) π
okay so this is a page straight outta the PostgreSQL 15.19 Documentation bestie, and it's a tiny one β like, micro. but we're gonna give it the respect it deserves anyway π«Ά
β¨ NAME β¨
SPI_freetuple β frees a row that was allocated up in the upper executor context πΈ
β¨ SYNOPSIS β¨
void SPI_freetuple(HeapTuple row)
literally one line. one (1) job. iconic behavior honestly π
β¨ DESCRIPTION β¨
so SPI_freetuple frees a row that was previously allocated in the upper executor context. that's the whole vibe. row go bye πβ¨
but here's the tea π: this function is no longer different from plain heap_freetuple. like, at all. nothing special going on under the hood anymore.
it's kept around just for backward compatibility of existing code β so if you've got old code calling SPI_freetuple, it still works, no cap. it's giving legacy icon, not main character energy. don't go reaching for it in new code thinking it does something fancy β it does not. π
β¨ ARGUMENTS β¨
HeapTuple rowβ the row you wanna free. that's it. that's the argument. π
ngl this whole page is like three sentences, but every single one of them is here, so we ate π₯
β with love, your favorite Unix bestie π¦
this page came from PostgreSQL 15.19, dated 2026 β see you in the next man page, bestie, mwah π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15-docs 15.19-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