1SPI_FREEPLAN(3) PostgreSQL 16.1 Documentation SPI_FREEPLAN(3)
23
4
NAME
6SPI_freeplan - free a previously saved prepared statement
7
SYNOPSIS
9int SPI_freeplan(SPIPlanPtr plan)
10
DESCRIPTION
12SPI_freeplan releases a prepared statement previously returned by
13SPI_prepare or saved by SPI_keepplan or SPI_saveplan.
14
ARGUMENTS
16SPIPlanPtr plan
17pointer to statement to free
18
RETURN VALUE
200 on success; SPI_ERROR_ARGUMENT if plan is NULL or invalid
2122
23
24
PostgreSQL 16.1 2023 SPI_FREEPLAN(3)