Skip to content

Commit 9f05c44

Browse files
committed
Fix order of steps in DISCARD ALL documentation
The docs have always been slightly inaccurate, but got particularly so in a874fe7, which made DISCARD ALL occur before everything else; reorder. Author: Jan Chochol Discussion: https://postgr.es/m/CAEASf_3TzBbnXm64HpnD5zCZEh8An9jN8ubMR=De-vOXHMHGeA@mail.gmail.com
1 parent fff2a7d commit 9f05c44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ref/discard.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ DISCARD { ALL | PLANS | SEQUENCES | TEMPORARY | TEMP }
8484
Currently, this has the same effect as executing the following sequence
8585
of statements:
8686
<programlisting>
87+
CLOSE ALL;
8788
SET SESSION AUTHORIZATION DEFAULT;
8889
RESET ALL;
8990
DEALLOCATE ALL;
90-
CLOSE ALL;
9191
UNLISTEN *;
9292
SELECT pg_advisory_unlock_all();
9393
DISCARD PLANS;
94-
DISCARD SEQUENCES;
9594
DISCARD TEMP;
95+
DISCARD SEQUENCES;
9696
</programlisting></para>
9797
</listitem>
9898
</varlistentry>

0 commit comments

Comments
 (0)