From 679d39b9c8fbe8f5613879b11431d8152d85ec54 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 7 Jan 1998 21:07:04 +0000 Subject: Goodbye ABORT. Hello ERROR for all errors. --- src/backend/access/gist/gistscan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/access/gist/gistscan.c') diff --git a/src/backend/access/gist/gistscan.c b/src/backend/access/gist/gistscan.c index 11335dc2180..e5fa6b44a2d 100644 --- a/src/backend/access/gist/gistscan.c +++ b/src/backend/access/gist/gistscan.c @@ -83,7 +83,7 @@ gistrescan(IndexScanDesc s, bool fromEnd, ScanKey key) if (!IndexScanIsValid(s)) { - elog(ABORT, "gistrescan: invalid scan."); + elog(ERROR, "gistrescan: invalid scan."); return; } @@ -281,7 +281,7 @@ gistdropscan(IndexScanDesc s) } if (l == (GISTScanList) NULL) - elog(ABORT, "GiST scan list corrupted -- cannot find 0x%lx", s); + elog(ERROR, "GiST scan list corrupted -- cannot find 0x%lx", s); if (prev == (GISTScanList) NULL) GISTScans = l->gsl_next; @@ -397,7 +397,7 @@ adjustiptr(IndexScanDesc s, break; default: - elog(ABORT, "Bad operation in GiST scan adjust: %d", op); + elog(ERROR, "Bad operation in GiST scan adjust: %d", op); } } } -- cgit v1.2.3