This page in other versions: Unsupported versions: 7.2 / 7.3

SPI_freetuptable

Name

SPI_freetuptable -- Frees a tuple set created by SPI_exec or similar function

Synopsis

SPI_freetuptable(tuptable)

Inputs

SPITupleTable * tuptable

Pointer to tuple table

Outputs

None

Description

SPI_freetuptable frees a tuple set created by a prior SPI query function, such as SPI_exec.

Usage

This function is useful if a SPI procedure needs to execute multiple queries and does not want to keep the results of earlier queries around until it ends. Note that any unfreed tuple sets will be freed anyway at SPI_finish.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group