Skip to content

Commit 86cf41e

Browse files
committed
Fix 'recheck' flag in tsquery's GIN tri-consistent function.
It needs to be initialized, like in the boolean gin_tsquery_consistent version. Peter Geoghegan.
1 parent fbc3def commit 86cf41e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/utils/adt/tsginidx.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ gin_tsquery_triconsistent(PG_FUNCTION_ARGS)
308308
bool recheck;
309309

310310
/* The query requires recheck only if it involves weights */
311+
recheck = false;
312+
311313
if (query->size > 0)
312314
{
313315
QueryItem *item;

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