gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

39 行
5.1KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>RESET</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="sql-release-savepoint.html" title="RELEASE SAVEPOINT" /><link rel="next" href="sql-revoke.html" title="REVOKE" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">RESET</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="sql-release-savepoint.html" title="RELEASE SAVEPOINT">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="sql-commands.html" title="SQL Commands">Up</a></td><th width="60%" align="center">SQL Commands</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="sql-revoke.html" title="REVOKE">Next</a></td></tr></table><hr></hr></div><div class="refentry" id="SQL-RESET"><div class="titlepage"></div><a id="id-1.9.3.164.1" class="indexterm"></a><div class="refnamediv"><h2><span class="refentrytitle">RESET</span></h2><p>RESET — restore the value of a run-time parameter to the default value</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
  3. RESET <em class="replaceable"><code>configuration_parameter</code></em>
  4. RESET ALL
  5. </pre></div><div class="refsect1" id="id-1.9.3.164.5"><h2>Description</h2><p>
  6. <code class="command">RESET</code> restores run-time parameters to their
  7. default values. <code class="command">RESET</code> is an alternative
  8. spelling for
  9. </p><pre class="synopsis">
  10. SET <em class="replaceable"><code>configuration_parameter</code></em> TO DEFAULT
  11. </pre><p>
  12. Refer to <a class="xref" href="sql-set.html" title="SET"><span class="refentrytitle">SET</span></a> for
  13. details.
  14. </p><p>
  15. The default value is defined as the value that the parameter would
  16. have had, if no <code class="command">SET</code> had ever been issued for it in the
  17. current session. The actual source of this value might be a
  18. compiled-in default, the configuration file, command-line options,
  19. or per-database or per-user default settings. This is subtly different
  20. from defining it as <span class="quote">“<span class="quote">the value that the parameter had at session
  21. start</span>”</span>, because if the value came from the configuration file, it
  22. will be reset to whatever is specified by the configuration file now.
  23. See <a class="xref" href="runtime-config.html" title="Chapter 19. Server Configuration">Chapter 19</a> for details.
  24. </p><p>
  25. The transactional behavior of <code class="command">RESET</code> is the same as
  26. <code class="command">SET</code>: its effects will be undone by transaction rollback.
  27. </p></div><div class="refsect1" id="id-1.9.3.164.6"><h2>Parameters</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="replaceable"><code>configuration_parameter</code></em></span></dt><dd><p>
  28. Name of a settable run-time parameter. Available parameters are
  29. documented in <a class="xref" href="runtime-config.html" title="Chapter 19. Server Configuration">Chapter 19</a> and on the
  30. <a class="xref" href="sql-set.html" title="SET"><span class="refentrytitle">SET</span></a> reference page.
  31. </p></dd><dt><span class="term"><code class="literal">ALL</code></span></dt><dd><p>
  32. Resets all settable run-time parameters to default values.
  33. </p></dd></dl></div></div><div class="refsect1" id="id-1.9.3.164.7"><h2>Examples</h2><p>
  34. Set the <code class="varname">timezone</code> configuration variable to its default value:
  35. </p><pre class="screen">
  36. RESET timezone;
  37. </pre></div><div class="refsect1" id="id-1.9.3.164.8"><h2>Compatibility</h2><p>
  38. <code class="command">RESET</code> is a <span class="productname">PostgreSQL</span> extension.
  39. </p></div><div class="refsect1" id="id-1.9.3.164.9"><h2>See Also</h2><span class="simplelist"><a class="xref" href="sql-set.html" title="SET"><span class="refentrytitle">SET</span></a>, <a class="xref" href="sql-show.html" title="SHOW"><span class="refentrytitle">SHOW</span></a></span></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sql-release-savepoint.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sql-commands.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sql-revoke.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">RELEASE SAVEPOINT </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> REVOKE</td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1