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/access/index/istrat.c | |
| parent | 0af9137f14f46a0affba6e57343a76a1e832172f (diff) | |
| download | postgresql-0d9fc5afd6eda651d2ef0a4776e08f02d32a96de.tar.gz | |
Change elog(WARN) to elog(ERROR) and elog(ABORT).
Diffstat (limited to 'src/backend/access/index/istrat.c')
| -rw-r--r-- | src/backend/access/index/istrat.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/access/index/istrat.c b/src/backend/access/index/istrat.c index 36693592c4..4a5c1da3b0 100644 --- a/src/backend/access/index/istrat.c +++ b/src/backend/access/index/istrat.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.13 1997/11/20 23:20:07 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.14 1998/01/05 03:29:38 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -349,7 +349,7 @@ RelationGetStrategy(Relation relation, { if (!StrategyNumberIsValid(strategy)) { - elog(WARN, "RelationGetStrategy: corrupted evaluation"); + elog(ABORT, "RelationGetStrategy: corrupted evaluation"); } } @@ -481,7 +481,7 @@ RelationInvokeStrategy(Relation relation, } } - elog(WARN, "RelationInvokeStrategy: cannot evaluate strategy %d", + elog(ABORT, "RelationInvokeStrategy: cannot evaluate strategy %d", strategy); /* not reached, just to make compiler happy */ @@ -514,7 +514,7 @@ OperatorRelationFillScanKeyEntry(Relation operatorRelation, tuple = heap_getnext(scan, false, (Buffer *) NULL); if (!HeapTupleIsValid(tuple)) { - elog(WARN, "OperatorObjectIdFillScanKeyEntry: unknown operator %lu", + elog(ABORT, "OperatorObjectIdFillScanKeyEntry: unknown operator %lu", (uint32) operatorObjectId); } @@ -525,7 +525,7 @@ OperatorRelationFillScanKeyEntry(Relation operatorRelation, if (!RegProcedureIsValid(entry->sk_procedure)) { - elog(WARN, + elog(ABORT, "OperatorObjectIdFillScanKeyEntry: no procedure for operator %lu", (uint32) operatorObjectId); } @@ -567,7 +567,7 @@ IndexSupportInitialize(IndexStrategy indexStrategy, scan = heap_beginscan(relation, false, false, 1, entry); tuple = heap_getnext(scan, 0, (Buffer *) NULL); if (!HeapTupleIsValid(tuple)) - elog(WARN, "IndexSupportInitialize: corrupted catalogs"); + elog(ABORT, "IndexSupportInitialize: corrupted catalogs"); /* * XXX note that the following assumes the INDEX tuple is well formed @@ -583,7 +583,7 @@ IndexSupportInitialize(IndexStrategy indexStrategy, { if (attributeIndex == 0) { - elog(WARN, "IndexSupportInitialize: no pg_index tuple"); + elog(ABORT, "IndexSupportInitialize: no pg_index tuple"); } break; } |
