diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-12-23 20:00:06 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-12-23 20:00:06 +0000 |
commit | 6b2e7e12beaa69bd4fc76ea2f27e4c61b097d36b (patch) | |
tree | 8067c5d63d0340e6d88277a231247339fad779d3 /src/interfaces/libpq/fe-exec.c | |
parent | e8783d4af044e596a017e740f5237262a99d4323 (diff) | |
download | postgresql-6b2e7e12beaa69bd4fc76ea2f27e4c61b097d36b.tar.gz postgresql-6b2e7e12beaa69bd4fc76ea2f27e4c61b097d36b.zip |
Add newline/tab to middle of long failure message to pretty it up a bit.
Diffstat (limited to 'src/interfaces/libpq/fe-exec.c')
-rw-r--r-- | src/interfaces/libpq/fe-exec.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c index 69c93b7bd02..1f452ffe2d1 100644 --- a/src/interfaces/libpq/fe-exec.c +++ b/src/interfaces/libpq/fe-exec.c @@ -7,7 +7,7 @@ * * * 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, if (id == EOF) { /* hmm, no response from the backend-end, that's bad */ - (void) sprintf(reason, - "PQexec() -- Request was sent to backend, but backend " - "closed the channel before " - "responding. This probably means the backend " - "terminated abnormally before or while processing " - "the request.\n"); - conn->status = CONNECTION_BAD; /* No more connection to - * backend */ + (void) sprintf(reason, "PQexec() -- Request was sent to backend" + ", but backend closed the channel before responding." + "\n\tThis probably means the backend terminated abnormally" + " before or while processing the request.\n"); + conn->status = CONNECTION_BAD; /* No more connection to backend */ *result_p = (PGresult *) NULL; done = true; } |