RESET

|              RESET               |                       |            |                  |                        |
|:--------------------------------:|-----------------------|------------|------------------|------------------------|
|[Prev](sql-release-savepoint.html)|[Up](sql-commands.html)|SQL Commands|[Home](index.html)| [Next](sql-revoke.html)|

---

[]()

## RESET

RESET — restore the value of a run-time parameter to the default value

## Synopsis

```
RESET configuration_parameter
RESET ALL

```

## Description

`RESET` restores run-time parameters to their default values. `RESET` is an alternative spelling for

```
SET configuration_parameter TO DEFAULT

```

 Refer to [SET](sql-set.html) for details.

 The default value is defined as the value that the parameter would have had, if no `SET` 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 “the value that the parameter had at session start”, because if the value came from the configuration file, it will be reset to whatever is specified by the configuration file now. See [Chapter 20](runtime-config.html) for details.

 The transactional behavior of `RESET` is the same as `SET`: its effects will be undone by transaction rollback.

## Parameters

*`configuration_parameter`*

 Name of a settable run-time parameter. Available parameters are documented in [Chapter 20](runtime-config.html) and on the [SET](sql-set.html) reference page.

`ALL`

 Resets all settable run-time parameters to default values.

## Examples

 Set the `timezone` configuration variable to its default value:

```
RESET timezone;

```

## Compatibility

`RESET` is a PostgreSQL extension.

## See Also

[SET](sql-set.html), [SHOW](sql-show.html)

---

|[Prev](sql-release-savepoint.html)|[Up](sql-commands.html)| [Next](sql-revoke.html)|
|:---------------------------------|:---------------------:|-----------------------:|
|        RELEASE SAVEPOINT         |  [Home](index.html)   |         REVOKE         |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>