aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/gin.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-01-10 21:08:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-01-10 21:08:36 +0000
commit43a57cf3657faba593ba72c3d67f3397ae84c60d (patch)
treee50237232552428843286cc0e39d85e560629f98 /src/include/access/gin.h
parent3b34e98242446bcc2827f081e72342cc7af57574 (diff)
downloadpostgresql-43a57cf3657faba593ba72c3d67f3397ae84c60d.tar.gz
postgresql-43a57cf3657faba593ba72c3d67f3397ae84c60d.zip
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.
Diffstat (limited to 'src/include/access/gin.h')
-rw-r--r--src/include/access/gin.h3
1 files changed, 2 insertions, 1 deletions
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;