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/bootstrap/bootstrap.c | |
parent | e6c6146eb8129f1ea1e1f68ef739c13824357225 (diff) | |
download | postgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.tar.gz postgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.zip |
Goodbye ABORT. Hello ERROR for all errors.
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index b7592cfc660..09179f09771 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -7,7 +7,7 @@ * Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.31 1998/01/05 03:30:18 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.32 1998/01/07 21:02:30 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -572,18 +572,18 @@ closerel(char *name) if (reldesc) { if (namestrcmp(RelationGetRelationName(reldesc), name) != 0) - elog(ABORT, "closerel: close of '%s' when '%s' was expected", + elog(ERROR, "closerel: close of '%s' when '%s' was expected", name, relname ? relname : "(null)"); } else - elog(ABORT, "closerel: close of '%s' before any relation was opened", + elog(ERROR, "closerel: close of '%s' before any relation was opened", name); } if (reldesc == NULL) { - elog(ABORT, "Warning: no opened relation to close.\n"); + elog(ERROR, "Warning: no opened relation to close.\n"); } else { @@ -879,7 +879,7 @@ gettype(char *type) heap_close(rdesc); return (gettype(type)); } - elog(ABORT, "Error: unknown type '%s'.\n", type); + elog(ERROR, "Error: unknown type '%s'.\n", type); err_out(); /* not reached, here to make compiler happy */ return 0; |