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

Commiteaffea7

Browse files
author
Artur Zakirov
committed
Fix bug: 'inconsistent results for queries against a table with and without rum indexes'
1 parent060ebdc commiteaffea7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎rum_ts_utils.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ rum_tsquery_pre_consistent(PG_FUNCTION_ARGS)
149149

150150
res=TS_execute(GETQUERY(query),
151151
&gcv,
152-
false,
152+
TS_EXEC_PHRASE_AS_AND,
153153
pre_checkcondition_rum);
154154
}
155155

@@ -242,7 +242,9 @@ rum_tsquery_consistent(PG_FUNCTION_ARGS)
242242
gcv.addInfoIsNull=addInfoIsNull;
243243
gcv.notPhrase= false;
244244

245-
res=TS_execute(GETQUERY(query),&gcv, true,checkcondition_rum);
245+
res=TS_execute(GETQUERY(query),&gcv,
246+
TS_EXEC_CALC_NOT,
247+
checkcondition_rum);
246248
}
247249

248250
PG_RETURN_BOOL(res);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp