8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb2ec5c commit 6ac24aeCopy full SHA for 6ac24ae
src/rum_ts_utils.c
@@ -244,19 +244,15 @@ rum_tsquery_pre_consistent(PG_FUNCTION_ARGS)
244
gcv.map_item_operand = (int *) (extra_data[0]);
245
gcv.need_recheck = &recheck;
246
247
-#if PG_VERSION_NUM >= 130000
248
- res = TS_execute(GETQUERY(query),
249
- &gcv,
250
- TS_EXEC_PHRASE_NO_POS | TS_EXEC_SKIP_NOT,
251
- pre_checkcondition_rum);
252
-#else
253
res = TS_execute(GETQUERY(query),
254
&gcv,
255
- TS_EXEC_PHRASE_NO_POS,
256
+ TS_EXEC_PHRASE_NO_POS
+#if PG_VERSION_NUM >= 130000
+ | TS_EXEC_SKIP_NOT
257
#endif
+ ,
+ pre_checkcondition_rum);
258
}
259
-
260
PG_RETURN_BOOL(res);
261
262
0 commit comments