summaryrefslogtreecommitdiff
path: root/src/include/tsearch
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-01-09 14:34:50 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-01-09 14:34:50 -0500
commit52fd2d65a33c9c33b29788e9df89d7716f1ec0bc (patch)
tree1107d8f53d8c89e7c45e1a92a72161c4bb6209ad /src/include/tsearch
parent304845075ce0eb9045af50ed32c688a0cb8dd490 (diff)
downloadpostgresql-52fd2d65a33c9c33b29788e9df89d7716f1ec0bc.tar.gz
Fix up core tsquery GIN support for new extractQuery API.
No need for the empty-prefix-match kluge to force a full scan anymore.
Diffstat (limited to 'src/include/tsearch')
-rw-r--r--src/include/tsearch/ts_utils.h2
1 files changed, 1 insertions, 1 deletions
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