]> begriffs open source - ai-pg/blob - full-docs/man7/DEALLOCATE.7
Include links to all subsection html pages, with shorter paths too
[ai-pg] / full-docs / man7 / DEALLOCATE.7
1 '\" t
2 .\"     Title: DEALLOCATE
3 .\"    Author: The PostgreSQL Global Development Group
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\"      Date: 2025
6 .\"    Manual: PostgreSQL 18.0 Documentation
7 .\"    Source: PostgreSQL 18.0
8 .\"  Language: English
9 .\"
10 .TH "DEALLOCATE" "7" "2025" "PostgreSQL 18.0" "PostgreSQL 18.0 Documentation"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 DEALLOCATE \- deallocate a prepared statement
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 DEALLOCATE [ PREPARE ] { \fIname\fR | ALL }
36 .fi
37 .SH "DESCRIPTION"
38 .PP
39 \fBDEALLOCATE\fR
40 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\&.
41 .PP
42 For more information on prepared statements, see
43 \fBPREPARE\fR(7)\&.
44 .SH "PARAMETERS"
45 .PP
46 PREPARE
47 .RS 4
48 This key word is ignored\&.
49 .RE
50 .PP
51 \fIname\fR
52 .RS 4
53 The name of the prepared statement to deallocate\&.
54 .RE
55 .PP
56 ALL
57 .RS 4
58 Deallocate all prepared statements\&.
59 .RE
60 .SH "COMPATIBILITY"
61 .PP
62 The SQL standard includes a
63 \fBDEALLOCATE\fR
64 statement, but it is only for use in embedded SQL\&.
65 .SH "SEE ALSO"
66 \fBEXECUTE\fR(7), \fBPREPARE\fR(7)