Improve documentation of psql's \q command.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 Oct 2011 17:59:30 +0000 (13:59 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 Oct 2011 18:00:23 +0000 (14:00 -0400)
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.

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

index 6142b491e984ad6c4aca6124e280493e93f90fc0..043b78d5a227f178f2a56a13f31b0f922f849f47 100644 (file)
@@ -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>