From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make contrib/pg_trgm also support regex searches with GiST index |
Date: | 2013-04-10 17:31:15 |
Message-ID: | E1UPyrb-0004ig-TA@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Make contrib/pg_trgm also support regex searches with GiST indexes.
This wasn't addressed in the original patch, but it doesn't take very
much additional code to cover the case, so let's get it done.
Since pg_trgm 1.1 hasn't been released yet, I just changed the definition
of what's in it, rather than inventing a 1.2.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/6f5b8beb64d481c28a483090d10099c8d619c797
Modified Files
--------------
contrib/pg_trgm/expected/pg_trgm.out | 132 ++++++++++++++++++++++++++++
contrib/pg_trgm/pg_trgm--1.0--1.1.sql | 4 +
contrib/pg_trgm/pg_trgm--1.1.sql | 6 ++
contrib/pg_trgm/sql/pg_trgm.sql | 23 +++++
contrib/pg_trgm/trgm.h | 5 +-
contrib/pg_trgm/trgm_gin.c | 3 +-
contrib/pg_trgm/trgm_gist.c | 152 +++++++++++++++++++++++++++-----
contrib/pg_trgm/trgm_op.c | 44 ++++++++++
contrib/pg_trgm/trgm_regexp.c | 14 ++--
doc/src/sgml/pgtrgm.sgml | 4 +-
10 files changed, 352 insertions(+), 35 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Stefan Kaltenbrunner | 2013-04-10 18:46:17 | Re: [COMMITTERS] pgsql: Get rid of USE_WIDE_UPPER_LOWER dependency in trigram constructi |
Previous Message | Alvaro Herrera | 2013-04-10 16:35:49 | pgsql: Make worker_spi sample code more complete |