1SPI_FREEPLAN(3)          PostgreSQL 12.2 Documentation         SPI_FREEPLAN(3)
2
3
4

NAME

6       SPI_freeplan - free a previously saved prepared statement
7

SYNOPSIS

9       int SPI_freeplan(SPIPlanPtr plan)
10

DESCRIPTION

12       SPI_freeplan releases a prepared statement previously returned by
13       SPI_prepare or saved by SPI_keepplan or SPI_saveplan.
14

ARGUMENTS

16       SPIPlanPtr plan
17           pointer to statement to free
18

RETURN VALUE

20       0 on success; SPI_ERROR_ARGUMENT if plan is NULL or invalid
21
22
23
24PostgreSQL 12.2                      2020                      SPI_FREEPLAN(3)
Impressum