Tweak wording of DISCARD ALL description to avoid giving the impression

that the presented list of equivalent operations is meant to be the
primary definition of what it does.  Per comment from Guillaume Smet.
This commit is contained in:
Tom Lane 2008-11-27 00:28:06 +00:00
parent c2138f3caa
commit e309739670

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/discard.sgml,v 1.4 2008/11/26 01:21:07 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/discard.sgml,v 1.5 2008/11/27 00:28:06 tgl Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
@ -71,9 +71,9 @@ DISCARD { ALL | PLANS | TEMPORARY | TEMP }
<listitem> <listitem>
<para> <para>
Releases all temporary resources associated with the current Releases all temporary resources associated with the current
session and resets the session to its initial state. This has session and resets the session to its initial state.
the same effect as executing the following sequence of Currently, this has the same effect as executing the following sequence
statements: of statements:
<programlisting> <programlisting>
SET SESSION AUTHORIZATION DEFAULT; SET SESSION AUTHORIZATION DEFAULT;
RESET ALL; RESET ALL;