SPI_freeplan (3)
Leading comments
Title: SPI_freeplan Author: The PostgreSQL Global Development Group Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> Date: 2017 Manual: PostgreSQL 9.6.5 Documentation Source: PostgreSQL 9.6.5 Language: English
NAME
SPI_freeplan - free a previously saved prepared statementSYNOPSIS
int SPI_freeplan(SPIPlanPtr plan)
DESCRIPTION
SPI_freeplan releases a prepared statement previously returned by SPI_prepare or saved by SPI_keepplan or SPI_saveplan.
ARGUMENTS
SPIPlanPtr plan
- pointer to statement to free
RETURN VALUE
0 on success; SPI_ERROR_ARGUMENT if plan is NULL or invalid