summaryrefslogtreecommitdiff
path: root/src/include/access/nbtree.h
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2007-01-20 18:43:35 +0000
committerNeil Conway <neilc@samurai.com>2007-01-20 18:43:35 +0000
commit2b7334d4877ba445003f96b0bb7eed4e7078a39b (patch)
tree6828dfd02c4f2c20ee2d3c56d1e8f1242887c162 /src/include/access/nbtree.h
parent978fff79421ec1c36a1ec58092f1167ce22319b9 (diff)
downloadpostgresql-2b7334d4877ba445003f96b0bb7eed4e7078a39b.tar.gz
Refactor the index AM API slightly: move currentItemData and
currentMarkData from IndexScanDesc to the opaque structs for the AMs that need this information (currently gist and hash). Patch from Heikki Linnakangas, fixes by Neil Conway.
Diffstat (limited to 'src/include/access/nbtree.h')
-rw-r--r--src/include/access/nbtree.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h
index 435826cf45..574aec496f 100644
--- a/src/include/access/nbtree.h
+++ b/src/include/access/nbtree.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.108 2007/01/09 02:14:15 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.109 2007/01/20 18:43:35 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -390,9 +390,6 @@ typedef BTStackData *BTStack;
* items were killed, we re-lock the page to mark them killed, then unlock.
* Finally we drop the pin and step to the next page in the appropriate
* direction.
- *
- * NOTE: in this implementation, btree does not use or set the
- * currentItemData and currentMarkData fields of IndexScanDesc at all.
*/
typedef struct BTScanPosItem /* what we remember about each match */