Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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:14 +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 97ac2f6a32bff6d1753c9abe38f09b82946bae37..49ad740a4c3265c027ab0b3784d904c7afe1245b 100644 (file)
@@ -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>