aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/catcache.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-01-07 21:07:04 +0000
committerBruce Momjian <bruce@momjian.us>1998-01-07 21:07:04 +0000
commit679d39b9c8fbe8f5613879b11431d8152d85ec54 (patch)
tree9d2a87706e8585160143a1d647bb7558818ccc3d /src/backend/utils/cache/catcache.c
parente6c6146eb8129f1ea1e1f68ef739c13824357225 (diff)
downloadpostgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.tar.gz
postgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.zip
Goodbye ABORT. Hello ERROR for all errors.
Diffstat (limited to 'src/backend/utils/cache/catcache.c')
-rw-r--r--src/backend/utils/cache/catcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/cache/catcache.c b/src/backend/utils/cache/catcache.c
index f49b58d5912..6c3ff360fb7 100644
--- a/src/backend/utils/cache/catcache.c
+++ b/src/backend/utils/cache/catcache.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.19 1998/01/05 03:34:22 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/catcache.c,v 1.20 1998/01/07 21:06:08 momjian Exp $
*
* Notes:
* XXX This needs to use exception.h to handle recovery when
@@ -568,7 +568,7 @@ ResetSystemCache()
CACHE1_elog(DEBUG, "ResetSystemCache called");
if (DisableCache)
{
- elog(ABORT, "ResetSystemCache: Called while cache disabled");
+ elog(ERROR, "ResetSystemCache: Called while cache disabled");
return;
}
@@ -605,7 +605,7 @@ ResetSystemCache()
nextelt = DLGetSucc(elt);
CatCacheRemoveCTup(cache, elt);
if (cache->cc_ntup == -1)
- elog(ABORT, "ResetSystemCache: cc_ntup<0 (software error)");
+ elog(ERROR, "ResetSystemCache: cc_ntup<0 (software error)");
}
}
cache->cc_ntup = 0; /* in case of WARN error above */
@@ -892,7 +892,7 @@ SearchSysCache(struct catcache * cache,
if (DisableCache)
{
- elog(ABORT, "SearchSysCache: Called while cache disabled");
+ elog(ERROR, "SearchSysCache: Called while cache disabled");
return ((HeapTuple) NULL);
}