]> begriffs open source - ai-pg/blob - full-docs/txt/sql-reset.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / sql-reset.txt
1
2 RESET
3
4    RESET — restore the value of a run-time parameter to the default value
5
6 Synopsis
7
8 RESET configuration_parameter
9 RESET ALL
10
11 Description
12
13    RESET restores run-time parameters to their default values. RESET is an
14    alternative spelling for
15 SET configuration_parameter TO DEFAULT
16
17    Refer to SET for details.
18
19    The default value is defined as the value that the parameter would have
20    had, if no SET had ever been issued for it in the current session. The
21    actual source of this value might be a compiled-in default, the
22    configuration file, command-line options, or per-database or per-user
23    default settings. This is subtly different from defining it as “the
24    value that the parameter had at session start”, because if the value
25    came from the configuration file, it will be reset to whatever is
26    specified by the configuration file now. See Chapter 19 for details.
27
28    The transactional behavior of RESET is the same as SET: its effects
29    will be undone by transaction rollback.
30
31 Parameters
32
33    configuration_parameter
34           Name of a settable run-time parameter. Available parameters are
35           documented in Chapter 19 and on the SET reference page.
36
37    ALL
38           Resets all settable run-time parameters to default values.
39
40 Examples
41
42    Set the timezone configuration variable to its default value:
43 RESET timezone;
44
45 Compatibility
46
47    RESET is a PostgreSQL extension.
48
49 See Also
50
51    SET, SHOW