summaryrefslogtreecommitdiff
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:23 -0400
commit7a0c5845bd1e4954fbd461781d5942a3e87c2ae3 (patch)
treeebd9cc6f0e77a61a5154efbc14bd9d3ccf10fdb6
parentaadfd6e5d660f497be3f64fc120c4339da6c7192 (diff)
downloadpostgresql-7a0c5845bd1e4954fbd461781d5942a3e87c2ae3.tar.gz
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.
-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 6142b491e9..043b78d5a2 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1646,10 +1646,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>