Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 66a28ad

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 e0448c0 commit 66a28ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2122,10 +2122,11 @@ lo_import 152801
21222122

21232123

21242124
<varlistentry>
2125-
<term><literal>\q</literal></term>
2125+
<term><literal>\q</literal> or <literal>\quit</literal></term>
21262126
<listitem>
21272127
<para>
21282128
Quits the <application>psql</application> program.
2129+
In a script file, only execution of that script is terminated.
21292130
</para>
21302131
</listitem>
21312132
</varlistentry>

0 commit comments

Comments
 (0)