Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit86cf41e

Browse files
committed
Fix 'recheck' flag in tsquery's GIN tri-consistent function.
It needs to be initialized, like in the boolean gin_tsquery_consistentversion.Peter Geoghegan.
1 parentfbc3def commit86cf41e

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
boolrecheck;
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)

[8]ページ先頭

©2009-2025 Movatter.jp