Skip to content

Commit 7a0c584

Browse files
committed
Improve documentation of psql's \q command.
The documentation neglected to explain its behavior in a script file (it only ends execution of the script, not psql as a whole), and failed to mention the long form \quit either.
1 parent aadfd6e commit 7a0c584

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ref/psql-ref.sgml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1646,10 +1646,11 @@ lo_import 152801
16461646

16471647

16481648
<varlistentry>
1649-
<term><literal>\q</literal></term>
1649+
<term><literal>\q</literal> or <literal>\quit</literal></term>
16501650
<listitem>
16511651
<para>
16521652
Quits the <application>psql</application> program.
1653+
In a script file, only execution of that script is terminated.
16531654
</para>
16541655
</listitem>
16551656
</varlistentry>

0 commit comments

Comments
 (0)