8000 Improve documentation of psql's \q command. · jaylevitt/postgres@77ea004 · GitHub
[go: up one dir, main page]

Skip to content

Commit 77ea004

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 0a90600 commit 77ea004

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
@@ -1892,10 +1892,11 @@ lo_import 152801
18921892

18931893

18941894
<varlistentry>
1895-
<term><literal>\q</literal></term>
1895+
<term><literal>\q</literal> or <literal>\quit</literal></term>
18961896
<listitem>
18971897
<para>
18981898
Quits the <application>psql</application> program.
1899+
In a script file, only execution of that script is terminated.
18991900
</para>
19001901
</listitem>
19011902
</varlistentry>

0 commit comments

Comments
 (0)
0