Fix order of steps in DISCARD ALL documentation
The docs have always been slightly inaccurate, but got particularly so in a874fe7b4c89, which made DISCARD ALL occur before everything else; reorder. Author: Jan Chochol Discussion: https://postgr.es/m/CAEASf_3TzBbnXm64HpnD5zCZEh8An9jN8ubMR=De-vOXHMHGeA@mail.gmail.com
This commit is contained in:
parent
fff2a7d7bd
commit
9f05c44ba4
@ -84,15 +84,15 @@ DISCARD { ALL | PLANS | SEQUENCES | TEMPORARY | TEMP }
|
|||||||
Currently, this has the same effect as executing the following sequence
|
Currently, this has the same effect as executing the following sequence
|
||||||
of statements:
|
of statements:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
CLOSE ALL;
|
||||||
SET SESSION AUTHORIZATION DEFAULT;
|
SET SESSION AUTHORIZATION DEFAULT;
|
||||||
RESET ALL;
|
RESET ALL;
|
||||||
DEALLOCATE ALL;
|
DEALLOCATE ALL;
|
||||||
CLOSE ALL;
|
|
||||||
UNLISTEN *;
|
UNLISTEN *;
|
||||||
SELECT pg_advisory_unlock_all();
|
SELECT pg_advisory_unlock_all();
|
||||||
DISCARD PLANS;
|
DISCARD PLANS;
|
||||||
DISCARD SEQUENCES;
|
|
||||||
DISCARD TEMP;
|
DISCARD TEMP;
|
||||||
|
DISCARD SEQUENCES;
|
||||||
</programlisting></para>
|
</programlisting></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user