SPI_FREETUPLE(3)
π SPI_FREETUPLE π
okay so bestie, welcome to the SPI_freetuple(3) page, straight outta the PostgreSQL 14.24 Documentation β pull up a chair, this one's short and sweet π
β¨ NAME β¨
SPI_freetuple β free a row allocated in the upper executor context π§Ήπ
β¨ SYNOPSIS β¨
void SPI_freetuple(HeapTuple row)
look at that signature, it's giving one function, one job, zero drama β¨
β¨ DESCRIPTION β¨
so SPI_freetuple frees a row that was previously allocated in the upper executor context. that's it. that's the whole vibe. you made a row, you're done with it, you hand it over, it gets freed π«Ά
and here's the tea β β this function is no longer different from plain heap_freetuple. like, at all. it's literally the same thing wearing a different name tag π it's been kept around just for backward compatibility of existing code, so if you're writing something new, just know what you're reaching for, iykyk π
fr fr though: it's not deprecated-and-screaming-dangerous, it's just a legacy alias vibe. your old code still slays, it just isn't doing anything special under the hood π
β¨ ARGUMENTS β¨
HeapTuple rowβ the row you wanna free π that's your one and only input, bestie
and that's the whole page, iconic and efficient π no cap, sometimes the manual is short because the function is short πΈ
β xoxo, your local Unix bestie π¦β¨
source & version: PostgreSQL 14.24 Β· dated 2026 Β· that's the whole footer, mwah π
π¦ 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