summaryrefslogtreecommitdiff
path: root/src/include/access/gist_private.h
diff options
context:
space:
mode:
authorNeil Conway2007-01-20 18:43:35 +0000
committerNeil Conway2007-01-20 18:43:35 +0000
commit8a93ecd8086474fe8d342995cd6d104bd280c0f1 (patch)
tree6c3282e20274cc26a76ea46067183c632d3406ea /src/include/access/gist_private.h
parenta0bb7b1a2c81bd13c053c81e909c8462902a7be2 (diff)
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/gist_private.h')
-rw-r--r--src/include/access/gist_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h
index 5bc97428d5..7e5802a478 100644
--- a/src/include/access/gist_private.h
+++ b/src/include/access/gist_private.h
@@ -72,7 +72,9 @@ typedef struct GISTScanOpaqueData
GISTSTATE *giststate;
MemoryContext tempCxt;
Buffer curbuf;
+ ItemPointerData curpos;
Buffer markbuf;
+ ItemPointerData markpos;
} GISTScanOpaqueData;
typedef GISTScanOpaqueData *GISTScanOpaque;