diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-10-12 13:59:30 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-10-12 13:59:30 -0400 |
commit | 80c6409c2bb9417c059603f0b5b88209517c7593 (patch) | |
tree | 27fb95f2e98340d9a6f943deaa386cb405959742 /doc/src | |
parent | b8691d838be0d9a85fa9ede6a931c4f194895c36 (diff) | |
download | postgresql-80c6409c2bb9417c059603f0b5b88209517c7593.tar.gz postgresql-80c6409c2bb9417c059603f0b5b88209517c7593.zip |
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.sgml | 3 |
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 8ef53874b38..662eab7b6d0 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -2147,10 +2147,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> |