Added \n to error message.

This commit is contained in:
Bruce Momjian 1997-06-01 04:59:25 +00:00
parent 6c82ae2c02
commit d95572767e
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.30 1997/06/01 03:18:32 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.31 1997/06/01 04:59:25 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -332,7 +332,7 @@ makePGresult(PGconn* conn, char* pname)
backend dumps core */ backend dumps core */
sprintf(conn->errorMessage, sprintf(conn->errorMessage,
"FATAL: unrecognized data from the backend. " "FATAL: unrecognized data from the backend. "
"It probably dumped core."); "It probably dumped core.\n");
fprintf(stderr, conn->errorMessage); fprintf(stderr, conn->errorMessage);
result->resultStatus = PGRES_FATAL_ERROR; result->resultStatus = PGRES_FATAL_ERROR;
return result; return result;