SPI_FREETUPLE(3)

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

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