]> granicus.if.org Git - postgresql/blobdiff - src/include/access/gin_private.h
Use a separate memory context for GIN scan keys.
[postgresql] / src / include / access / gin_private.h
index c949c97edec779bfa7220cc81886e5092f110538..bda7c284b132d4e18d620890670014099679f9d9 100644 (file)
@@ -888,6 +888,8 @@ typedef struct GinScanOpaqueData
        uint32          totalentries;
        uint32          allocentries;   /* allocated length of entries[] */
 
+       MemoryContext keyCtx;           /* used to hold key and entry data */
+
        bool            isVoidRes;              /* true if query is unsatisfiable */
 } GinScanOpaqueData;