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

Commit6b2e7e1

Browse files
author
Thomas G. Lockhart
committed
Add newline/tab to middle of long failure message to pretty it up a bit.
1 parente8783d4 commit6b2e7e1

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

‎src/interfaces/libpq/fe-exec.c

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.44 1997/12/05 01:13:24 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.45 1997/12/23 20:00:06 thomas Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -456,14 +456,11 @@ process_response_from_backend(FILE *pfin, FILE *pfout, FILE *pfdebug,
456456
if (id==EOF)
457457
{
458458
/* hmm, no response from the backend-end, that's bad */
459-
(void)sprintf(reason,
460-
"PQexec() -- Request was sent to backend, but backend "
461-
"closed the channel before "
462-
"responding. This probably means the backend "
463-
"terminated abnormally before or while processing "
464-
"the request.\n");
465-
conn->status=CONNECTION_BAD;/* No more connection to
466-
* backend */
459+
(void)sprintf(reason,"PQexec() -- Request was sent to backend"
460+
", but backend closed the channel before responding."
461+
"\n\tThis probably means the backend terminated abnormally"
462+
" before or while processing the request.\n");
463+
conn->status=CONNECTION_BAD;/* No more connection to backend */
467464
*result_p= (PGresult*)NULL;
468465
done= true;
469466
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp