diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2018-04-05 19:55:11 +0300 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2018-04-05 19:55:11 +0300 |
commit | 1664ae1978bf0f5ee940dc2fc8313e6400a7e7da (patch) | |
tree | 750d1e406f9db66b039545a98485da6cc855d3c8 /src/backend/utils/adt/tsvector.c | |
parent | fbc27330b8f8693d8fa9b1f8cb450567c3d81640 (diff) | |
download | postgresql-1664ae1978bf0f5ee940dc2fc8313e6400a7e7da.tar.gz postgresql-1664ae1978bf0f5ee940dc2fc8313e6400a7e7da.zip |
Add websearch_to_tsquery
Error-tolerant conversion function with web-like syntax for search query,
it simplifies constraining search engine with close to habitual interface for
users.
Bump catalog version
Authors: Victor Drobny, Dmitry Ivanov with editorization by me
Reviewed by: Aleksander Alekseev, Tomas Vondra, Thomas Munro, Aleksandr Parfenov
Discussion: https://www.postgresql.org/message-id/flat/fe931111ff7e9ad79196486ada79e268@postgrespro.ru
Diffstat (limited to 'src/backend/utils/adt/tsvector.c')
-rw-r--r-- | src/backend/utils/adt/tsvector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/tsvector.c b/src/backend/utils/adt/tsvector.c index 64e02ef4343..7a27bd12a31 100644 --- a/src/backend/utils/adt/tsvector.c +++ b/src/backend/utils/adt/tsvector.c @@ -200,7 +200,7 @@ tsvectorin(PG_FUNCTION_ARGS) char *cur; int buflen = 256; /* allocated size of tmpbuf */ - state = init_tsvector_parser(buf, false, false); + state = init_tsvector_parser(buf, 0); arrlen = 64; arr = (WordEntryIN *) palloc(sizeof(WordEntryIN) * arrlen); |