diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-01-07 21:07:04 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-01-07 21:07:04 +0000 |
commit | 679d39b9c8fbe8f5613879b11431d8152d85ec54 (patch) | |
tree | 9d2a87706e8585160143a1d647bb7558818ccc3d /src/backend/lib/stringinfo.c | |
parent | e6c6146eb8129f1ea1e1f68ef739c13824357225 (diff) | |
download | postgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.tar.gz postgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.zip |
Goodbye ABORT. Hello ERROR for all errors.
Diffstat (limited to 'src/backend/lib/stringinfo.c')
-rw-r--r-- | src/backend/lib/stringinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/lib/stringinfo.c b/src/backend/lib/stringinfo.c index 710826439fe..ccd03115506 100644 --- a/src/backend/lib/stringinfo.c +++ b/src/backend/lib/stringinfo.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/lib/stringinfo.c,v 1.8 1998/01/07 15:32:19 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/lib/stringinfo.c,v 1.9 1998/01/07 21:03:04 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -36,14 +36,14 @@ makeStringInfo() res = (StringInfo) palloc(sizeof(StringInfoData)); if (res == NULL) { - elog(ABORT, "makeStringInfo: Out of memory!"); + elog(ERROR, "makeStringInfo: Out of memory!"); } size = 100; res->data = palloc(size); if (res->data == NULL) { - elog(ABORT, + elog(ERROR, "makeStringInfo: Out of memory! (%ld bytes requested)", size); } res->maxlen = size; @@ -105,7 +105,7 @@ appendStringInfo(StringInfo str, char *buffer) s = palloc(newlen); if (s == NULL) { - elog(ABORT, + elog(ERROR, "appendStringInfo: Out of memory (%d bytes requested)", newlen); } |