diff options
| author | Neil Conway | 2007-01-20 18:43:35 +0000 |
|---|---|---|
| committer | Neil Conway | 2007-01-20 18:43:35 +0000 |
| commit | 8a93ecd8086474fe8d342995cd6d104bd280c0f1 (patch) | |
| tree | 6c3282e20274cc26a76ea46067183c632d3406ea /src/include/access/gist_private.h | |
| parent | a0bb7b1a2c81bd13c053c81e909c8462902a7be2 (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.h | 2 |
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; |
