pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Handle equality operator in contrib/pg_trgm
Date: Sun, 15 Nov 2020 05:53:10 +0000
Message-ID: <E1keAyM-0000qd-Dy@gemulon.postgresql.org> (raw)

Handle equality operator in contrib/pg_trgm

Obviously, in order to equality operator be satisfiable, target string must
contain all the trigrams of the search string.  On this base, we implement
equality operator in GiST/GIN indexes with recheck.

Discussion: https://postgr.es/m/CAOBaU_YWwtT7tdggtROacjdOdeYHCz-tmSwuC-j-TOG-g97J0w%40mail.gmail.com
Author: Julien Rouhaud
Reviewed-by: Tom Lane, Alexander Korotkov, Georgios Kokolatos, Erik Rijkers

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/935f6666502250abde8615bc7805a6e5aa05a066

Modified Files
--------------
contrib/pg_trgm/Makefile              |   2 +-
contrib/pg_trgm/expected/pg_trgm.out  | 204 +++++++++++++++++++++++++++++++++-
contrib/pg_trgm/pg_trgm--1.5--1.6.sql |  10 ++
contrib/pg_trgm/pg_trgm.control       |   2 +-
contrib/pg_trgm/sql/pg_trgm.sql       |  40 +++++++
contrib/pg_trgm/trgm.h                |   1 +
contrib/pg_trgm/trgm_gin.c            |   3 +
contrib/pg_trgm/trgm_gist.c           |   4 +-
doc/src/sgml/pgtrgm.sgml              |   8 +-
9 files changed, 264 insertions(+), 10 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1keAyM-0000qd-Dy@gemulon.postgresql.org>
Permalink:  ../E1keAyM-0000qd-Dy@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1keAyM-0000qd-Dy@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: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Handle equality operator in contrib/pg_trgm
  In-Reply-To: <E1keAyM-0000qd-Dy@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