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/backend/access/index/genam.c | |
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/backend/access/index/genam.c')
-rw-r--r-- | src/backend/access/index/genam.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/access/index/genam.c b/src/backend/access/index/genam.c index d0db99af75d..49ffff6e51d 100644 --- a/src/backend/access/index/genam.c +++ b/src/backend/access/index/genam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/index/genam.c,v 1.60 2007/01/05 22:19:22 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/access/index/genam.c,v 1.61 2007/01/20 18:43:35 neilc Exp $ * * NOTES * many of the old access method routines have been turned into @@ -92,9 +92,6 @@ RelationGetIndexScan(Relation indexRelation, scan->opaque = NULL; - ItemPointerSetInvalid(&scan->currentItemData); - ItemPointerSetInvalid(&scan->currentMarkData); - ItemPointerSetInvalid(&scan->xs_ctup.t_self); scan->xs_ctup.t_data = NULL; scan->xs_cbuf = InvalidBuffer; |