Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f48G4-0004Xx-FS for pgsql-committers@arkaria.postgresql.org; Thu, 05 Apr 2018 17:01:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f48G3-0000Xw-5Q for pgsql-committers@arkaria.postgresql.org; Thu, 05 Apr 2018 17:01:07 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f48G2-0000XS-TH for pgsql-committers@lists.postgresql.org; Thu, 05 Apr 2018 17:01:07 +0000 Received: from hook.sigaev.ru ([93.180.27.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f48Fz-0002L8-00 for pgsql-committers@lists.postgresql.org; Thu, 05 Apr 2018 17:01:05 +0000 Received: from xor.sai.msu.ru (unknown [93.174.131.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: teodor) by hook.sigaev.ru (Postfix) with ESMTPSA id 0F340B19192 for ; Thu, 5 Apr 2018 20:01:01 +0300 (MSK) Subject: Re: pgsql: Add websearch_to_tsquery From: Teodor Sigaev To: pgsql-committers@lists.postgresql.org References: Message-ID: <1f2dd573-4b80-1527-1a4a-610cdf464b44@sigaev.ru> Date: Thu, 5 Apr 2018 20:01:00 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Miss russion characters in tests, removing Teodor Sigaev wrote: > 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(-) > -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/