From 52fd2d65a33c9c33b29788e9df89d7716f1ec0bc Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 9 Jan 2011 14:34:50 -0500 Subject: Fix up core tsquery GIN support for new extractQuery API. No need for the empty-prefix-match kluge to force a full scan anymore. --- src/include/tsearch/ts_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/tsearch') diff --git a/src/include/tsearch/ts_utils.h b/src/include/tsearch/ts_utils.h index 62890aabb7..1bd4034488 100644 --- a/src/include/tsearch/ts_utils.h +++ b/src/include/tsearch/ts_utils.h @@ -104,9 +104,9 @@ extern text *generateHeadline(HeadlineParsedText *prs); /* * Common check function for tsvector @@ tsquery */ - extern bool TS_execute(QueryItem *curitem, void *checkval, bool calcnot, bool (*chkcond) (void *checkval, QueryOperand *val)); +extern bool tsquery_requires_match(QueryItem *curitem); /* * to_ts* - text transformation to tsvector, tsquery -- cgit v1.2.1