mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 00:02:53 -04:00
Fix for return code of psql in manual.
This commit is contained in:
parent
003b76f9ac
commit
cc7f032289
@ -1,6 +1,6 @@
|
|||||||
.\" This is -*-nroff-*-
|
.\" This is -*-nroff-*-
|
||||||
.\" XXX standard disclaimer belongs here....
|
.\" 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
|
.TH PSQL UNIX 1/20/96 Postgres95 Postgres95
|
||||||
.SH NAME
|
.SH NAME
|
||||||
psql \(em run the interactive query front-end
|
psql \(em run the interactive query front-end
|
||||||
@ -339,12 +339,9 @@ See
|
|||||||
.IR introduction (libpq)
|
.IR introduction (libpq)
|
||||||
for additional details.
|
for additional details.
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
When executed with the
|
|
||||||
.BR "-c"
|
|
||||||
option,
|
|
||||||
.IR psql
|
.IR psql
|
||||||
returns 0 to the shell on successful query completion, 1 for errors,
|
returns 0 to the shell on successful completion of all queries,
|
||||||
2 for abrupt disconnection from the backend.
|
1 for errors, 2 for abrupt disconnection from the backend.
|
||||||
.IR psql
|
.IR psql
|
||||||
will also return 1 if the connection to a database could not be made for
|
will also return 1 if the connection to a database could not be made for
|
||||||
any reason.
|
any reason.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user