int SPI_freeplan(void * plan )
SPI_freeplan releases a command execution plan previously returned by SPI_prepare or saved by SPI_saveplan .
SPI_freeplan
SPI_prepare
SPI_saveplan
pointer to plan to free
SPI_ERROR_ARGUMENT if plan is NULL .