SPI_FREETUPLE(3)

πŸ“¦ version 14.24, in opensuse-leap 16.0

πŸ’– 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