Skip to content

Commit 80c6409

Browse files
committed
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.
1 parent b8691d8 commit 80c6409

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2147,10 +2147,11 @@ lo_import 152801
21472147

21482148

21492149
<varlistentry>
2150-
<term><literal>\q</literal></term>
2150+
<term><literal>\q</literal> or <literal>\quit</literal></term>
21512151
<listitem>
21522152
<para>
21532153
Quits the <application>psql</application> program.
2154+
In a script file, only execution of that script is terminated.
21542155
</para>
21552156
</listitem>
21562157
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy