Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc7f032

Browse files
committed
Fix for return code of psql in manual.
1 parent003b76f commitcc7f032

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎src/man/psql.1

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" 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 $
44
.TH PSQL UNIX 1/20/96 Postgres95 Postgres95
55
.SH NAME
66
psql\(em run the interactive query front-end
@@ -339,12 +339,9 @@ See
339339
.IR introduction(libpq)
340340
for additional details.
341341
.SH "RETURN VALUE"
342-
When executed with the
343-
.BR"-c"
344-
option,
345342
.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.
348345
.IR psql
349346
will also return 1 if the connection to a database could not be made for
350347
any reason.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp