Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 57a40ab

Browse files
committed
Okay, add relation name to the file generating the error...
1 parent 0b746a7 commit 57a40ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/access/nbtree/nbtsearch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.32 1998/04/10 18:43:30 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.33 1998/04/10 21:59:30 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -219,8 +219,8 @@ _bt_moveright(Relation rel,
219219
if (_bt_skeycmp(rel, keysz, scankey, page,
220220
PageGetItemId(page, P_FIRSTKEY),
221221
BTEqualStrategyNumber))
222-
elog(FATAL, "btree: BTP_CHAIN flag was expected (access = %d)",
223-
access);
222+
elog(FATAL, "btree: BTP_CHAIN flag was expected in %s (access = %s)",
223+
Relation->rd_rel->relname, access ? "bt_write" : "bt_read");
224224
if (_bt_skeycmp(rel, keysz, scankey, page,
225225
PageGetItemId(page, offmax),
226226
BTEqualStrategyNumber))

0 commit comments

Comments
 (0)