diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-01-05 03:35:55 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-01-05 03:35:55 +0000 |
| commit | 0d9fc5afd6eda651d2ef0a4776e08f02d32a96de (patch) | |
| tree | c9f5ac32c61569ba21fc66cf28d383e3972d2199 /src/backend/utils/cache/fcache.c | |
| parent | 0af9137f14f46a0affba6e57343a76a1e832172f (diff) | |
| download | postgresql-0d9fc5afd6eda651d2ef0a4776e08f02d32a96de.tar.gz | |
Change elog(WARN) to elog(ERROR) and elog(ABORT).
Diffstat (limited to 'src/backend/utils/cache/fcache.c')
| -rw-r--r-- | src/backend/utils/cache/fcache.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/cache/fcache.c b/src/backend/utils/cache/fcache.c index 7bfa62e564..fa480813f0 100644 --- a/src/backend/utils/cache/fcache.c +++ b/src/backend/utils/cache/fcache.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.7 1997/09/08 21:48:49 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/Attic/fcache.c,v 1.8 1998/01/05 03:34:24 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -71,7 +71,7 @@ GetDynamicFuncArgType(Var *arg, ExprContext *econtext) tup = SearchSysCacheTuple(TYPNAME, PointerGetDatum(relname), 0, 0, 0); if (!tup) - elog(WARN, "Lookup failed on type tuple for class %s", + elog(ABORT, "Lookup failed on type tuple for class %s", relname); return tup->t_oid; @@ -100,14 +100,14 @@ init_fcache(Oid foid, retval = (FunctionCachePtr) palloc(sizeof(FunctionCache)); if (!use_syscache) - elog(WARN, "what the ????, init the fcache without the catalogs?"); + elog(ABORT, "what the ????, init the fcache without the catalogs?"); procedureTuple = SearchSysCacheTuple(PROOID, ObjectIdGetDatum(foid), 0, 0, 0); if (!HeapTupleIsValid(procedureTuple)) - elog(WARN, + elog(ABORT, "init_fcache: %s %d", "Cache lookup failed for procedure", foid); @@ -128,7 +128,7 @@ init_fcache(Oid foid, 0, 0, 0); if (!HeapTupleIsValid(typeTuple)) - elog(WARN, + elog(ABORT, "init_fcache: %s %d", "Cache lookup failed for type", (procedureStruct)->prorettype); @@ -311,6 +311,6 @@ setFcache(Node *node, Oid foid, List *argList, ExprContext *econtext) } else { - elog(WARN, "init_fcache: node must be Oper or Func!"); + elog(ABORT, "init_fcache: node must be Oper or Func!"); } } |
