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 strict_word_similarity to pg_trgm module
Date: Wed, 21 Mar 2018 11:58:03 +0000
Message-ID: <E1eycNX-0004mV-Ie@gemulon.postgresql.org> (raw)

Add strict_word_similarity to pg_trgm module

strict_word_similarity is similar to existing word_similarity function but
it takes into account word boundaries to compute similarity.

Author: Alexander Korotkov
Review by: David Steele, Liudmila Mantrova, me
Discussion: https://www.postgresql.org/message-id/flat/CY4PR17MB13207ED8310F847CF117EED0D85A0@CY4PR17MB1320.namp...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be8a7a6866276b228b4ffaa3003e1dc2dd1d140a

Modified Files
--------------
contrib/pg_trgm/Makefile                         |    5 +-
contrib/pg_trgm/expected/pg_strict_word_trgm.out | 1025 ++++++++++++++++++++++
contrib/pg_trgm/pg_trgm--1.3--1.4.sql            |   68 ++
contrib/pg_trgm/pg_trgm.control                  |    2 +-
contrib/pg_trgm/sql/pg_strict_word_trgm.sql      |   42 +
contrib/pg_trgm/trgm.h                           |   21 +-
contrib/pg_trgm/trgm_gin.c                       |    9 +-
contrib/pg_trgm/trgm_gist.c                      |   14 +-
contrib/pg_trgm/trgm_op.c                        |  248 +++++-
doc/src/sgml/pgtrgm.sgml                         |   88 +-
10 files changed, 1461 insertions(+), 61 deletions(-)



Message-ID: <E1eycNX-0004mV-Ie@gemulon.postgresql.org>
Permalink:  ../E1eycNX-0004mV-Ie@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eycNX-0004mV-Ie@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: teodor@sigaev.ru
  Subject: Re: pgsql: Add strict_word_similarity to pg_trgm module
  In-Reply-To: <E1eycNX-0004mV-Ie@gemulon.postgresql.org>
  References: <E1eycNX-0004mV-Ie@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