From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add websearch_to_tsquery |
Date: | 2018-04-05 16:55:54 |
Message-ID: | E1f48B0-0001qn-Ar@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)postgrespro(dot)ru
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1664ae1978bf0f5ee940dc2fc8313e6400a7e7da
Modified Files
--------------
doc/src/sgml/func.sgml | 12 +
doc/src/sgml/textsearch.sgml | 92 ++++++-
src/backend/tsearch/to_tsany.c | 38 ++-
src/backend/utils/adt/tsquery.c | 390 ++++++++++++++++++++++-------
src/backend/utils/adt/tsvector.c | 2 +-
src/backend/utils/adt/tsvector_parser.c | 36 ++-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 +
src/include/tsearch/ts_utils.h | 26 +-
src/test/regress/expected/tsearch.out | 423 ++++++++++++++++++++++++++++++++
src/test/regress/sql/tsearch.sql | 94 +++++++
11 files changed, 1000 insertions(+), 119 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Teodor Sigaev | 2018-04-05 17:01:00 | Re: pgsql: Add websearch_to_tsquery |
Previous Message | Andrew Gierth | 2018-04-05 16:15:34 | Re: pgsql: MERGE INSERT allows only one VALUES clause |