aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-11-17 04:27:34 +0000
committerBruce Momjian <bruce@momjian.us>1996-11-17 04:27:34 +0000
commitcc7f032289bfec5b470e922aee7804f36946e71c (patch)
tree3f7bd16181b3948b656c199623a5ed631545a18b /src
parent003b76f9acf87c532434429bb2076c2521b806d7 (diff)
downloadpostgresql-cc7f032289bfec5b470e922aee7804f36946e71c.tar.gz
postgresql-cc7f032289bfec5b470e922aee7804f36946e71c.zip
Fix for return code of psql in manual.
Diffstat (limited to 'src')
-rw-r--r--src/man/psql.19
1 files changed, 3 insertions, 6 deletions
diff --git a/src/man/psql.1 b/src/man/psql.1
index 82d98c68ec8..4d729234df5 100644
--- a/src/man/psql.1
+++ b/src/man/psql.1
@@ -1,6 +1,6 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.2 1996/11/15 17:55:31 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.3 1996/11/17 04:27:34 momjian Exp $
.TH PSQL UNIX 1/20/96 Postgres95 Postgres95
.SH NAME
psql \(em run the interactive query front-end
@@ -339,12 +339,9 @@ See
.IR introduction (libpq)
for additional details.
.SH "RETURN VALUE"
-When executed with the
-.BR "-c"
-option,
.IR psql
-returns 0 to the shell on successful query completion, 1 for errors,
-2 for abrupt disconnection from the backend.
+returns 0 to the shell on successful completion of all queries,
+1 for errors, 2 for abrupt disconnection from the backend.
.IR psql
will also return 1 if the connection to a database could not be made for
any reason.