SPI_FREEPLAN(3)
π SPI_FREEPLAN(3) π
okay so bestie, welcome to the SPI_FREEPLAN(3) page straight from the PostgreSQL 15.19 Documentation. It's giving cleanup era β¨ and it's literally about freeing a previously saved prepared statement. no cap.
π NAME π
SPI_freeplan β free a previously saved prepared statement
β¨ SYNOPSIS β¨
int SPI_freeplan(SPIPlanPtr plan)
π¦ DESCRIPTION π¦
okay so SPI_freeplan releases a prepared statement previously returned by SPI_prepare or saved by SPI_keepplan or SPI_saveplan.
that's the whole tea β β it's the cleanup bestie for plans you already stashed. fr fr.
πΈ ARGUMENTS πΈ
SPIPlanPtr planβ pointer to statement to free. yes bestie, this is the plan you're freeing π
π RETURN VALUE π
0on success.SPI_ERROR_ARGUMENTifplanisNULLor invalid.
highkey important: that's the entire return-value vibe, no extra lore π
xoxo bestie π β this page is from PostgreSQL 15.19, dated 2026, and that's the footer fantasy. bye! π«Άπ§
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15-docs 15.19-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms