postgresql_16:6.10.1.28.4 Notes
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_keepplan > Notes
The passed-in statement is relocated to permanent storage by means of pointer adjustment (no data copying is required). If you later wish to delete it, use SPI_freeplan on it.