SPI_FREETUPLE(3)

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

πŸ’… SPI_FREETUPLE(3) πŸ’…

okay bestie, welcome to the PostgreSQL 13.23 Documentation page for SPI_freetuple(3). buckle up, it’s a short one but it’s iconic πŸŽ€


✨ NAME ✨

SPI_freetuple β€” free a row allocated in the upper executor context. literally what it says on the tin, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void SPI_freetuple(HeapTuple row)

🌸 DESCRIPTION 🌸

okay so SPI_freetuple frees a row that was previously allocated in the upper executor context. that’s the whole vibe 🫢

and here’s the tea β˜•: this function is no longer different from plain heap_freetuple. it’s kept just for backward compatibility of existing code. so if you see it, it’s giving legacy-but-valid, not brand-new-and-shiny 🌈


πŸŽ€ ARGUMENTS πŸŽ€

  • HeapTuple row β€” the row to free, bestie. that’s it. that’s the argument πŸ’–

lowkey important reminder: this is the PostgreSQL 13.23 docs version, so keep that context in mind, iykyk πŸ‘‘

πŸ’– cute little sign-off: this page came from the PostgreSQL 13.23 documentation, dated 2025. periodt. βœ¨πŸ¦‹

πŸ“¦ where this page comes from