SPI_FREEPLAN(3)

πŸ“¦ version 17.11, in opensuse-leap 16.0

πŸ’– NAME

SPI_freeplan β€” free a previously saved prepared statement. Periodt. πŸ’…

This is SPI_FREEPLAN(3), bestie, straight outta the PostgreSQL 17.11 Documentation. 🫢


✨ SYNOPSIS

int SPI_freeplan(SPIPlanPtr plan)

🫢 DESCRIPTION

Okay so SPI_freeplan releases a prepared statement that was previously returned by SPI_prepare or saved by SPI_keepplan or SPI_saveplan. Like, it's giving cleanup main character energy. 🧹✨


🌸 ARGUMENTS

  • SPIPlanPtr plan β€” pointer to statement to free. Literally the plan you're releasing, bestie. πŸŽ€

⭐ RETURN VALUE

  • 0 β€” success, slay. βœ…
  • SPI_ERROR_ARGUMENT β€” if plan is NULL or invalid. 😭

That's the whole page, bestie β€” brought to you by PostgreSQL 17.11, dated 2026, and filed under SPI_FREEPLAN(3). πŸ’–βœ¨

πŸ“¦ where this page comes from