diff options
author | Neil Conway <neilc@samurai.com> | 2007-01-20 18:43:35 +0000 |
---|---|---|
committer | Neil Conway <neilc@samurai.com> | 2007-01-20 18:43:35 +0000 |
commit | 2b7334d4877ba445003f96b0bb7eed4e7078a39b (patch) | |
tree | 6828dfd02c4f2c20ee2d3c56d1e8f1242887c162 /src/include/access/gist_private.h | |
parent | 978fff79421ec1c36a1ec58092f1167ce22319b9 (diff) | |
download | postgresql-2b7334d4877ba445003f96b0bb7eed4e7078a39b.tar.gz postgresql-2b7334d4877ba445003f96b0bb7eed4e7078a39b.zip |
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h index 25d2c213c00..6cb2e5294e5 100644 --- a/src/include/access/gist_private.h +++ b/src/include/access/gist_private.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/gist_private.h,v 1.25 2007/01/05 22:19:51 momjian Exp $ + * $PostgreSQL: pgsql/src/include/access/gist_private.h,v 1.26 2007/01/20 18:43:35 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -72,7 +72,9 @@ typedef struct GISTScanOpaqueData GISTSTATE *giststate; MemoryContext tempCxt; Buffer curbuf; + ItemPointerData curpos; Buffer markbuf; + ItemPointerData markpos; } GISTScanOpaqueData; typedef GISTScanOpaqueData *GISTScanOpaque; |