diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-04-10 13:30:14 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-04-10 13:31:02 -0400 |
commit | 6f5b8beb64d481c28a483090d10099c8d619c797 (patch) | |
tree | 185ab33fecd04386903147f52b6d7b0f14fd8ec2 /doc/src | |
parent | e543631f3c162ab5f6020b1d0209e0353ca2229a (diff) | |
download | postgresql-6f5b8beb64d481c28a483090d10099c8d619c797.tar.gz postgresql-6f5b8beb64d481c28a483090d10099c8d619c797.zip |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/pgtrgm.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/pgtrgm.sgml b/doc/src/sgml/pgtrgm.sgml index 4572750f4d7..9039f03e8b9 100644 --- a/doc/src/sgml/pgtrgm.sgml +++ b/doc/src/sgml/pgtrgm.sgml @@ -216,8 +216,8 @@ SELECT * FROM test_trgm WHERE t LIKE '%foo%bar'; </para> <para> - Beginning in <productname>PostgreSQL</> 9.3, <filename>pg_trgm</filename> - GIN indexes also support index searches for regular-expression matches + Beginning in <productname>PostgreSQL</> 9.3, these index types also support + index searches for regular-expression matches (<literal>~</> and <literal>~*</> operators), for example <programlisting> SELECT * FROM test_trgm WHERE t ~ '(foo|bar)'; |