pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teodor Sigaev <teodor@sigaev.ru>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add websearch_to_tsquery
Date: Thu, 05 Apr 2018 16:55:54 +0000
Message-ID: <E1f48B0-0001qn-Ar@gemulon.postgresql.org> (raw)

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

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1f48B0-0001qn-Ar@gemulon.postgresql.org>
Permalink:  ../E1f48B0-0001qn-Ar@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f48B0-0001qn-Ar@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: teodor@sigaev.ru, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add websearch_to_tsquery
  In-Reply-To: <E1f48B0-0001qn-Ar@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox