SPI_freetuptable man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

SPI_FREETUPTABLE(3)	PostgreSQL 9.3.2 Documentation	   SPI_FREETUPTABLE(3)

NAME
       SPI_freetuptable - free a row set created by SPI_execute or a similar
       function

SYNOPSIS
       void SPI_freetuptable(SPITupleTable * tuptable)

DESCRIPTION
       SPI_freetuptable frees a row set created by a prior SPI command
       execution function, such as SPI_execute. Therefore, this function is
       often called with the global variable SPI_tuptable as argument.

       This function is useful if a SPI procedure needs to execute multiple
       commands and does not want to keep the results of earlier commands
       around until it ends. Note that any unfreed row sets will be freed
       anyway at SPI_finish. Also, if a subtransaction is started and then
       aborted within execution of a SPI procedure, SPI automatically frees
       any row sets created while the subtransaction was running.

       Beginning in PostgreSQL 9.3, SPI_freetuptable contains guard logic to
       protect against duplicate deletion requests for the same row set. In
       previous releases, duplicate deletions would lead to crashes.

ARGUMENTS
       SPITupleTable * tuptable
	   pointer to row set to free, or NULL to do nothing

PostgreSQL 9.3.2		     2013		   SPI_FREETUPTABLE(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net