SPI_FREETUPLE(3)
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
- opensuse-leap 16.0: postgresql16-docs 16.15-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