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/gist/gist.c | |
parent | 0af9137f14f46a0affba6e57343a76a1e832172f (diff) | |
download | postgresql-0d9fc5afd6eda651d2ef0a4776e08f02d32a96de.tar.gz |
Change elog(WARN) to elog(ERROR) and elog(ABORT).
Diffstat (limited to 'src/backend/access/gist/gist.c')
-rw-r--r-- | src/backend/access/gist/gist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 34a5122742..db4cb4358c 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -130,7 +130,7 @@ gistbuild(Relation heap, */ if (oldPred == NULL && (nb = RelationGetNumberOfBlocks(index)) != 0) - elog(WARN, "%.16s already contains data", &(index->rd_rel->relname.data[0])); + elog(ABORT, "%.16s already contains data", &(index->rd_rel->relname.data[0])); /* initialize the root page (if this is a new index) */ if (oldPred == NULL) @@ -1182,7 +1182,7 @@ initGISTstate(GISTSTATE *giststate, Relation index) 0, 0, 0); itupform = (IndexTupleForm) GETSTRUCT(htup); if (!HeapTupleIsValid(htup)) - elog(WARN, "initGISTstate: index %d not found", index->rd_id); + elog(ABORT, "initGISTstate: index %d not found", index->rd_id); giststate->haskeytype = itupform->indhaskeytype; if (giststate->haskeytype) { @@ -1193,7 +1193,7 @@ initGISTstate(GISTSTATE *giststate, Relation index) 0, 0); if (!HeapTupleIsValid(htup)) { - elog(WARN, "initGISTstate: no attribute tuple %d %d", + elog(ABORT, "initGISTstate: no attribute tuple %d %d", itupform->indexrelid, FirstOffsetNumber); return; } |