12th September 2019: PostgreSQL 12 Beta 4 Released!
Unsupported versions: 7.3 / 7.2
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the supported versions listed above instead.

SPI_freetuple

Name

SPI_freetuple -- Frees a tuple allocated in upper Executor context

Synopsis

SPI_freetuple(pointer)

Inputs

HeapTuple pointer

Pointer to allocated tuple

Outputs

None

Description

SPI_freetuple frees a tuple previously allocated in upper Executor context.

Usage

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