SPI_FREETUPLE(3)

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

okay so bestie, welcome to SPI_FREETUPLE(3) β€” that's the manual page name, bestie β€” straight from the PostgreSQL 16.15 Documentation. We're talking about SPI_freetuple, and it's giving short-and-sweet. Let's go πŸ’…βœ¨

πŸ’– NAME πŸ’–

SPI_freetuple β€” free a row allocated in the upper executor context 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

void SPI_freetuple(HeapTuple row)

look at that signature: one function, one HeapTuple argument, zero chaos 🌸

πŸŽ€ DESCRIPTION πŸŽ€

SPI_freetuple frees a row that was previously allocated in the upper executor context. That's the whole job, and it does it πŸ’…

This function is no longer different from plain heap_freetuple. It's kept just for backward compatibility of existing code. So if you were thinking it had some secret extra sauce β€” nope, bestie, it's literally in its compatibility era now 😭. Existing code can keep using it, but it's not different from plain heap_freetuple anymore 🫢

🌈 ARGUMENTS 🌈

  • HeapTuple row β€” the row to free. That's the one thing you hand over, and then it's freed πŸŽ€

mwah πŸ’‹ this little page is from PostgreSQL 16.15, dated 2026 β€” bye bestie, go free that row 🌟

πŸ“¦ where this page comes from