summaryrefslogtreecommitdiff
path: root/src/include/access/hash.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-17 23:50:57 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-17 23:50:57 +0000
commitaf59a0650b3eb27cc4ce919a66f40e9e218dd3ab (patch)
tree1e3ea2df9e73d744fad2f44bc08faae63a38f782 /src/include/access/hash.h
parent3e00496d88a2a0e894d34302d9504826bc86e510 (diff)
Remove useless mark/restore support in hash index AM, per discussion.
(I'm leaving GiST/GIN cleanup to Teodor.)
Diffstat (limited to 'src/include/access/hash.h')
-rw-r--r--src/include/access/hash.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/include/access/hash.h b/src/include/access/hash.h
index e00176d4519..6cd57ec00c5 100644
--- a/src/include/access/hash.h
+++ b/src/include/access/hash.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/hash.h,v 1.90 2008/09/15 18:43:41 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/hash.h,v 1.91 2008/10/17 23:50:57 tgl Exp $
*
* NOTES
* modeled after Margo Seltzer's hash implementation for unix.
@@ -92,17 +92,15 @@ typedef struct HashScanOpaqueData
BlockNumber hashso_bucket_blkno;
/*
- * We also want to remember which buffers we're currently examining in the
- * scan. We keep these buffers pinned (but not locked) across hashgettuple
+ * We also want to remember which buffer we're currently examining in the
+ * scan. We keep the buffer pinned (but not locked) across hashgettuple
* calls, in order to avoid doing a ReadBuffer() for every tuple in the
* index.
*/
Buffer hashso_curbuf;
- Buffer hashso_mrkbuf;
- /* Current and marked position of the scan */
+ /* Current position of the scan */
ItemPointerData hashso_curpos;
- ItemPointerData hashso_mrkpos;
} HashScanOpaqueData;
typedef HashScanOpaqueData *HashScanOpaque;