|
1 | 1 | .\" This is -*-nroff-*-
|
2 | 2 | .\" XXX standard disclaimer belongs here....
|
3 |
| -.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.2 1996/11/15 17:55:31 momjian Exp $ |
| 3 | +.\" $Header: /cvsroot/pgsql/src/man/Attic/psql.1,v 1.3 1996/11/17 04:27:34 momjian Exp $ |
4 | 4 | .TH PSQL UNIX 1/20/96 Postgres95 Postgres95
|
5 | 5 | .SH NAME
|
6 | 6 | psql\(em run the interactive query front-end
|
|
339 | 339 | .IR introduction(libpq)
|
340 | 340 | for additional details.
|
341 | 341 | .SH "RETURN VALUE"
|
342 |
| -When executed with the |
343 |
| -.BR"-c" |
344 |
| -option, |
345 | 342 | .IR psql
|
346 |
| -returns 0 to the shell on successfulquerycompletion, 1 for errors, |
347 |
| -2 for abrupt disconnection from the backend. |
| 343 | +returns 0 to the shell on successful completion of all queries, |
| 344 | +1 for errors,2 for abrupt disconnection from the backend. |
348 | 345 | .IR psql
|
349 | 346 | will also return 1 if the connection to a database could not be made for
|
350 | 347 | any reason.
|
|