pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: dmitry-ryabov@mail.ru
Subject: BUG #15048: pg_trgm extension: <% and %> operators ignore word boundaries
Date: Mon, 05 Feb 2018 02:25:18 +0000
Message-ID: <151779751884.1243.13037281871936473992@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15048
Logged by:          Dmitry Ryabov
Email address:      dmitry-ryabov@mail.ru
PostgreSQL version: 10.1
Operating system:   Debian 9
Description:        

Affected versions: 9.6, 10. How to reproduce:
set pg_trgm.word_similarity_threshold = 0.5;
set pg_trgm.similarity_threshold = 0.5;

select
  /* space was ignored */
  'startstop' <% 'xxxxstar stopyyyy', 'xxxxstar stopyyyy' %> 'startstop',
  /* words tests */
  'startstop' %> 'stopyyyy', 'startstop' %> 'xxxxstar',
  'startstop' <% 'stopyyyy', 'startstop' <% 'xxxxstar',
  'startstop' % 'stopyyyy', 'startstop' % 'xxxxstar';




Message-ID: <151779751884.1243.13037281871936473992@wrigleys.postgresql.org>
Permalink:  ../151779751884.1243.13037281871936473992@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/151779751884.1243.13037281871936473992@wrigleys.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-bugs@postgresql.org
  Cc: noreply@postgresql.org, dmitry-ryabov@mail.ru
  Subject: Re: BUG #15048: pg_trgm extension: <% and %> operators ignore word boundaries
  In-Reply-To: <151779751884.1243.13037281871936473992@wrigleys.postgresql.org>
  References: <151779751884.1243.13037281871936473992@wrigleys.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