postgresql/contrib/pg_trgm
Tom Lane 6e2f3ae884 Support LIKE and ILIKE index searches via contrib/pg_trgm indexes.
Unlike Btree-based LIKE optimization, this works for non-left-anchored
search patterns.  The effectiveness of the search depends on how many
trigrams can be extracted from the pattern.  (The worst case, with no
trigrams, degrades to a full-table scan, so this isn't a panacea.  But
it can be very useful.)

Alexander Korotkov, reviewed by Jan Urbanski
2011-01-31 21:34:49 -05:00
..
data
expected Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00
sql Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00
.gitignore Some more gitignore cleanups: cover contrib and PL regression test outputs. 2010-09-22 17:22:40 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pg_trgm.sql.in Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00
trgm_gin.c Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00
trgm_gist.c Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00
trgm_op.c Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00
trgm.h Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00
uninstall_pg_trgm.sql Support LIKE and ILIKE index searches via contrib/pg_trgm indexes. 2011-01-31 21:34:49 -05:00