diff options
Diffstat (limited to 'src/backend/access/hash/hashinsert.c')
| -rw-r--r-- | src/backend/access/hash/hashinsert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/hash/hashinsert.c b/src/backend/access/hash/hashinsert.c index 191182165a..fd27e7a17b 100644 --- a/src/backend/access/hash/hashinsert.c +++ b/src/backend/access/hash/hashinsert.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.25 2002/06/20 20:29:24 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/hash/hashinsert.c,v 1.26 2003/07/21 20:29:38 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -48,7 +48,7 @@ _hash_doinsert(Relation rel, HashItem hitem) /* we need a scan key to do our search, so build one */ itup = &(hitem->hash_itup); if ((natts = rel->rd_rel->relnatts) != 1) - elog(ERROR, "Hash indices valid for only one index key."); + elog(ERROR, "Hash indexes support only one index key"); itup_scankey = _hash_mkscankey(rel, itup); /* @@ -228,7 +228,7 @@ _hash_pgaddtup(Relation rel, itup_off = OffsetNumberNext(PageGetMaxOffsetNumber(page)); if (PageAddItem(page, (Item) hitem, itemsize, itup_off, LP_USED) == InvalidOffsetNumber) - elog(ERROR, "_hash_pgaddtup: failed to add index item to %s", + elog(ERROR, "failed to add index item to \"%s\"", RelationGetRelationName(rel)); /* write the buffer, but hold our lock */ |
