Commit 6b2e7e12 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add newline/tab to middle of long failure message to pretty it up a bit.

parent e8783d4a
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.44 1997/12/05 01:13:24 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.45 1997/12/23 20:00:06 thomas Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -456,14 +456,11 @@ process_response_from_backend(FILE *pfin, FILE *pfout, FILE *pfdebug, ...@@ -456,14 +456,11 @@ process_response_from_backend(FILE *pfin, FILE *pfout, FILE *pfdebug,
if (id == EOF) if (id == EOF)
{ {
/* hmm, no response from the backend-end, that's bad */ /* hmm, no response from the backend-end, that's bad */
(void) sprintf(reason, (void) sprintf(reason, "PQexec() -- Request was sent to backend"
"PQexec() -- Request was sent to backend, but backend " ", but backend closed the channel before responding."
"closed the channel before " "\n\tThis probably means the backend terminated abnormally"
"responding. This probably means the backend " " before or while processing the request.\n");
"terminated abnormally before or while processing " conn->status = CONNECTION_BAD; /* No more connection to backend */
"the request.\n");
conn->status = CONNECTION_BAD; /* No more connection to
* backend */
*result_p = (PGresult *) NULL; *result_p = (PGresult *) NULL;
done = true; done = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment