diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-01-07 21:07:04 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-01-07 21:07:04 +0000 |
commit | 679d39b9c8fbe8f5613879b11431d8152d85ec54 (patch) | |
tree | 9d2a87706e8585160143a1d647bb7558818ccc3d /src/backend/access/rtree/rtproc.c | |
parent | e6c6146eb8129f1ea1e1f68ef739c13824357225 (diff) | |
download | postgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.tar.gz postgresql-679d39b9c8fbe8f5613879b11431d8152d85ec54.zip |
Goodbye ABORT. Hello ERROR for all errors.
Diffstat (limited to 'src/backend/access/rtree/rtproc.c')
-rw-r--r-- | src/backend/access/rtree/rtproc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/rtree/rtproc.c b/src/backend/access/rtree/rtproc.c index dda0fc42634..af46780446b 100644 --- a/src/backend/access/rtree/rtproc.c +++ b/src/backend/access/rtree/rtproc.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.14 1998/01/07 18:46:15 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/rtree/Attic/rtproc.c,v 1.15 1998/01/07 21:02:05 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -29,7 +29,7 @@ rt_box_union(BOX *a, BOX *b) BOX *n; if ((n = (BOX *) palloc(sizeof(*n))) == (BOX *) NULL) - elog(ABORT, "Cannot allocate box for union"); + elog(ERROR, "Cannot allocate box for union"); n->high.x = Max(a->high.x, b->high.x); n->high.y = Max(a->high.y, b->high.y); @@ -45,7 +45,7 @@ rt_box_inter(BOX *a, BOX *b) BOX *n; if ((n = (BOX *) palloc(sizeof(*n))) == (BOX *) NULL) - elog(ABORT, "Cannot allocate box for union"); + elog(ERROR, "Cannot allocate box for union"); n->high.x = Min(a->high.x, b->high.x); n->high.y = Min(a->high.y, b->high.y); @@ -94,7 +94,7 @@ rt_poly_union(POLYGON *a, POLYGON *b) p = (POLYGON *) palloc(sizeof(POLYGON)); if (!PointerIsValid(p)) - elog(ABORT, "Cannot allocate polygon for union"); + elog(ERROR, "Cannot allocate polygon for union"); MemSet((char *) p, 0, sizeof(POLYGON)); /* zero any holes */ p->size = sizeof(POLYGON); @@ -136,7 +136,7 @@ rt_poly_inter(POLYGON *a, POLYGON *b) p = (POLYGON *) palloc(sizeof(POLYGON)); if (!PointerIsValid(p)) - elog(ABORT, "Cannot allocate polygon for intersection"); + elog(ERROR, "Cannot allocate polygon for intersection"); MemSet((char *) p, 0, sizeof(POLYGON)); /* zero any holes */ p->size = sizeof(POLYGON); |