Commit 0b746a7d authored by Marc G. Fournier's avatar Marc G. Fournier

See if I can determine where the BTP_CHAIN error is coming from...

parent b5bd8c3f
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.31 1998/02/26 04:29:50 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.32 1998/04/10 18:43:30 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -219,7 +219,8 @@ _bt_moveright(Relation rel, ...@@ -219,7 +219,8 @@ _bt_moveright(Relation rel,
if (_bt_skeycmp(rel, keysz, scankey, page, if (_bt_skeycmp(rel, keysz, scankey, page,
PageGetItemId(page, P_FIRSTKEY), PageGetItemId(page, P_FIRSTKEY),
BTEqualStrategyNumber)) BTEqualStrategyNumber))
elog(FATAL, "btree: BTP_CHAIN flag was expected"); elog(FATAL, "btree: BTP_CHAIN flag was expected (access = %d)",
access);
if (_bt_skeycmp(rel, keysz, scankey, page, if (_bt_skeycmp(rel, keysz, scankey, page,
PageGetItemId(page, offmax), PageGetItemId(page, offmax),
BTEqualStrategyNumber)) BTEqualStrategyNumber))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment