Make contrib/pg_trgm also support regex searches with GiST indexes.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Apr 2013 17:30:14 +0000 (13:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Apr 2013 17:31:02 +0000 (13:31 -0400)
commit6f5b8beb64d481c28a483090d10099c8d619c797
tree185ab33fecd04386903147f52b6d7b0f14fd8ec2
parente543631f3c162ab5f6020b1d0209e0353ca2229a
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.
contrib/pg_trgm/expected/pg_trgm.out
contrib/pg_trgm/pg_trgm--1.0--1.1.sql
contrib/pg_trgm/pg_trgm--1.1.sql
contrib/pg_trgm/sql/pg_trgm.sql
contrib/pg_trgm/trgm.h
contrib/pg_trgm/trgm_gin.c
contrib/pg_trgm/trgm_gist.c
contrib/pg_trgm/trgm_op.c
contrib/pg_trgm/trgm_regexp.c
doc/src/sgml/pgtrgm.sgml