]> granicus.if.org Git - postgresql/commitdiff
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:01 +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 a42ed3d285770a4ea07e6d0292734e6753b4edf0..79a0ed4f4bbb1575cf55bc868dadb9a87a117aa6 100644 (file)
@@ -2122,10 +2122,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>