1SPI_FREETUPTABLE(3)     PostgreSQL 9.2.24 Documentation    SPI_FREETUPTABLE(3)
2
3
4

NAME

6       SPI_freetuptable - free a row set created by SPI_execute or a similar
7       function
8

SYNOPSIS

10       void SPI_freetuptable(SPITupleTable * tuptable)
11

DESCRIPTION

13       SPI_freetuptable frees a row set created by a prior SPI command
14       execution function, such as SPI_execute. Therefore, this function is
15       usually called with the global variable SPI_tupletable as argument.
16
17       This function is useful if a SPI procedure needs to execute multiple
18       commands and does not want to keep the results of earlier commands
19       around until it ends. Note that any unfreed row sets will be freed
20       anyway at SPI_finish.
21

ARGUMENTS

23       SPITupleTable * tuptable
24           pointer to row set to free
25
26
27
28PostgreSQL 9.2.24                 2017-11-06               SPI_FREETUPTABLE(3)
Impressum