From 43a57cf3657faba593ba72c3d67f3397ae84c60d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 10 Jan 2009 21:08:36 +0000 Subject: Revise the TIDBitmap API to support multiple concurrent iterations over a bitmap. This is extracted from Greg Stark's posix_fadvise patch; it seems worth committing separately, since it's potentially useful independently of posix_fadvise. --- src/include/access/gin.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/access/gin.h') diff --git a/src/include/access/gin.h b/src/include/access/gin.h index 78269a415a0..1425333221d 100644 --- a/src/include/access/gin.h +++ b/src/include/access/gin.h @@ -4,7 +4,7 @@ * * Copyright (c) 2006-2009, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/access/gin.h,v 1.27 2009/01/01 17:23:55 momjian Exp $ + * $PostgreSQL: pgsql/src/include/access/gin.h,v 1.28 2009/01/10 21:08:36 tgl Exp $ *-------------------------------------------------------------------------- */ @@ -380,6 +380,7 @@ typedef struct GinScanEntryData /* partial match support */ bool isPartialMatch; TIDBitmap *partialMatch; + TBMIterator *partialMatchIterator; TBMIterateResult *partialMatchResult; StrategyNumber strategy; -- cgit v1.2.3