diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-01-09 14:34:50 -0500 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-01-09 14:34:50 -0500 |
| commit | 52fd2d65a33c9c33b29788e9df89d7716f1ec0bc (patch) | |
| tree | 1107d8f53d8c89e7c45e1a92a72161c4bb6209ad /src/include/tsearch | |
| parent | 304845075ce0eb9045af50ed32c688a0cb8dd490 (diff) | |
| download | postgresql-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.h | 2 |
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 |
