BUG #15048: pg_trgm extension: <% and %> operators ignore word boundaries

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: dmitry-ryabov(at)mail(dot)ru
Subject: BUG #15048: pg_trgm extension: <% and %> operators ignore word boundaries
Date: 2018-02-05 02:25:18
Message-ID: 151779751884.1243.13037281871936473992@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 15048
Logged by: Dmitry Ryabov
Email address: dmitry-ryabov(at)mail(dot)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';

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-02-05 07:53:36 BUG #15049: Initdb.exe failing to create DB
Previous Message Keith Fiske 2018-02-04 16:43:45 Re: BUG #15043: postgresql yum repository dependency problem