summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-12 13:59:30 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-12 14:00:14 -0400
commit77ea00406998d0f58e71a433f6cfe40fda2368b9 (patch)
treebcd20378b13624929bdb648edd0e31f177904a08 /doc/src
parent0a906009765bac2042d3cbd7907c0ad833ab14bb (diff)
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 97ac2f6a32b..49ad740a4c3 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1892,10 +1892,11 @@ lo_import 152801
<varlistentry>
- <term><literal>\q</literal></term>
+ <term><literal>\q</literal> or <literal>\quit</literal></term>
<listitem>
<para>
Quits the <application>psql</application> program.
+ In a script file, only execution of that script is terminated.
</para>
</listitem>
</varlistentry>