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

Commit 80c6409

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 b8691d8 commit 80c6409

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
@@ -2147,10 +2147,11 @@ lo_import 152801
21472147

21482148

21492149
<varlistentry>
2150-
<term><literal>\q</literal></term>
2150+
<term><literal>\q</literal> or <literal>\quit</literal></term>
21512151
<listitem>
21522152
<para>
21532153
Quits the <application>psql</application> program.
2154+
In a script file, only execution of that script is terminated.
21542155
</para>
21552156
</listitem>
21562157
</varlistentry>

0 commit comments

Comments
 (0)