From af59a0650b3eb27cc4ce919a66f40e9e218dd3ab Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 17 Oct 2008 23:50:57 +0000 Subject: Remove useless mark/restore support in hash index AM, per discussion. (I'm leaving GiST/GIN cleanup to Teodor.) --- src/include/access/hash.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/include/access/hash.h') diff --git a/src/include/access/hash.h b/src/include/access/hash.h index e00176d451..6cd57ec00c 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; -- cgit v1.2.1