SPI_FREETUPLE(3) PostgreSQL 16.2 Documentation SPI_FREETUPLE(3)

SPI_freetuple - free a row allocated in the upper executor context

void SPI_freetuple(HeapTuple row)

SPI_freetuple frees a row previously allocated in the upper executor context.

This function is no longer different from plain heap_freetuple. It's kept just for backward compatibility of existing code.

HeapTuple row

row to free
2024 PostgreSQL 16.2