]> begriffs open source - ai-pg/blob - full-docs/man7/RESET.7
Include links to all subsection html pages, with shorter paths too
[ai-pg] / full-docs / man7 / RESET.7
1 '\" t
2 .\"     Title: RESET
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 "RESET" "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 RESET \- restore the value of a run\-time parameter to the default value
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 RESET \fIconfiguration_parameter\fR
36 RESET ALL
37 .fi
38 .SH "DESCRIPTION"
39 .PP
40 \fBRESET\fR
41 restores run\-time parameters to their default values\&.
42 \fBRESET\fR
43 is an alternative spelling for
44 .sp
45 .if n \{\
46 .RS 4
47 .\}
48 .nf
49 SET \fIconfiguration_parameter\fR TO DEFAULT
50 .fi
51 .if n \{\
52 .RE
53 .\}
54 .sp
55 Refer to
56 \fBSET\fR(7)
57 for details\&.
58 .PP
59 The default value is defined as the value that the parameter would have had, if no
60 \fBSET\fR
61 had ever been issued for it in the current session\&. The actual source of this value might be a compiled\-in default, the configuration file, command\-line options, or per\-database or per\-user default settings\&. This is subtly different from defining it as
62 \(lqthe value that the parameter had at session start\(rq, because if the value came from the configuration file, it will be reset to whatever is specified by the configuration file now\&. See
63 Chapter\ \&19
64 for details\&.
65 .PP
66 The transactional behavior of
67 \fBRESET\fR
68 is the same as
69 \fBSET\fR: its effects will be undone by transaction rollback\&.
70 .SH "PARAMETERS"
71 .PP
72 \fIconfiguration_parameter\fR
73 .RS 4
74 Name of a settable run\-time parameter\&. Available parameters are documented in
75 Chapter\ \&19
76 and on the
77 \fBSET\fR(7)
78 reference page\&.
79 .RE
80 .PP
81 ALL
82 .RS 4
83 Resets all settable run\-time parameters to default values\&.
84 .RE
85 .SH "EXAMPLES"
86 .PP
87 Set the
88 \fItimezone\fR
89 configuration variable to its default value:
90 .sp
91 .if n \{\
92 .RS 4
93 .\}
94 .nf
95 RESET timezone;
96 .fi
97 .if n \{\
98 .RE
99 .\}
100 .SH "COMPATIBILITY"
101 .PP
102 \fBRESET\fR
103 is a
104 PostgreSQL
105 extension\&.
106 .SH "SEE ALSO"
107 \fBSET\fR(7), \fBSHOW\fR(7)