DEALLOCATE(7)

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

πŸ’… DEALLOCATE(7) β€” deallocate a prepared statement ✨

okay so this is the DEALLOCATE(7) page from the PostgreSQL 13.23 Documentation, and it’s literally about cleaning up prepared statements. no cap. 🧹


🌸 NAME 🌸

DEALLOCATE β€” deallocate a prepared statement πŸ’…

✨ SYNOPSIS ✨

DEALLOCATE [ PREPARE ] { name | ALL }

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie, DEALLOCATE is how you deallocate a previously prepared SQL statement. if you don’t explicitly deallocate a prepared statement, it is deallocated when the session ends. periodt. πŸ’–

for more information on prepared statements, go see PREPARE(7) ✨.

πŸŽ€ PARAMETERS πŸŽ€

  • PREPARE β€” this key word is ignored. yep, it’s just there, living its life. πŸ™ˆ
  • name β€” the name of the prepared statement to deallocate. πŸ’…
  • ALL β€” deallocate all prepared statements. all of them. the whole roster. πŸ‘‘

πŸ’€ COMPATIBILITY πŸ’€

the SQL standard includes a DEALLOCATE statement, but it is only for use in embedded SQL. that’s the vibe check. ✨

🌈 SEE ALSO 🌈

EXECUTE(7), PREPARE(7)

πŸ’– okay that’s the whole page, bestie β€” this iconic little manual page is brought to you by PostgreSQL 13.23, dated 2025. slay. 🫢

πŸ“¦ where this page comes from