Skip to content

Commit 2a59b79

Browse files
committed
Fix initialization of GinScanEntryData.partialMatch
1 parent d06a8d0 commit 2a59b79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/access/gin/ginscan.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.15 2008/06/19 00:46:03 alvherre Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/gin/ginscan.c,v 1.16 2008/07/04 13:21:18 teodor Exp $
1212
*-------------------------------------------------------------------------
1313
*/
1414

@@ -58,6 +58,7 @@ fillScanKey(GinState *ginstate, GinScanKey key, Datum query,
5858
ItemPointerSet(&(key->scanEntry[i].curItem), InvalidBlockNumber, InvalidOffsetNumber);
5959
key->scanEntry[i].offset = InvalidOffsetNumber;
6060
key->scanEntry[i].buffer = InvalidBuffer;
61+
key->scanEntry[i].partialMatch = NULL;
6162
key->scanEntry[i].list = NULL;
6263
key->scanEntry[i].nlist = 0;
6364
key->scanEntry[i].isPartialMatch = ( ginstate->canPartialMatch && partial_matches )

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy