DEALLOCATE(7)
π NAME π
okay so bestie, welcome to DEALLOCATE(7) from the PostgreSQL 17.11 Documentation π
This page is literally about deallocating a prepared statement β like, saying bye-bye to it in the cleanest way possible π«Ά
β¨ SYNOPSIS β¨
DEALLOCATE [ PREPARE ] { name | ALL }
πΈ DESCRIPTION πΈ
DEALLOCATE is used to deallocate a previously prepared SQL statement. If you do not explicitly deallocate a prepared statement, it is deallocated when the session ends β no cap, session cleanup handles it πβ¨
For more information on prepared statements, see PREPARE(7). iykyk π¦
π PARAMETERS π
PREPAREβ this key word is ignored. Yep, itβs just there doing nothing, bestie πnameβ the name of the prepared statement to deallocate. This is how you pick which one gets the goodbye πALLβ deallocate all prepared statements. not me clearing the whole group chat π₯
π¦ COMPATIBILITY π¦
The SQL standard includes a DEALLOCATE statement, but it is only for use in embedded SQL. So itβs giving standard-adjacent but with a very specific vibe, iykyk π
π SEE ALSO π
Thatβs the whole page, bestie β brought to you by PostgreSQL 17.11, dated 2026 πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql17 17.11-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql17 17.11-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql17 17.11-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql17 17.11-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