Index: doc/src/sgml/indices.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/indices.sgml,v
retrieving revision 1.55
diff -c -c -r1.55 indices.sgml
*** doc/src/sgml/indices.sgml 7 Nov 2005 17:36:44 -0000 1.55
--- doc/src/sgml/indices.sgml 18 Jan 2006 21:24:06 -0000
***************
*** 141,157 ****
The optimizer can also use a B-tree index for queries involving the
! pattern matching operators LIKE>,
! ILIKE, ~, and
! ~*, if the pattern is a constant
! and is anchored to the beginning of the string — for example,
! col LIKE 'foo%' or col ~ '^foo',
! but not col LIKE '%bar'. However, if your server does
! not use the C locale you will need to create the index with a
! special operator class to support indexing of pattern-matching queries.
! See below.
index
--- 141,161 ----
The optimizer can also use a B-tree index for queries involving the
! pattern matching operators LIKE> and ~
! if the pattern is a constant and is anchored to
! the beginning of the string — for example, col LIKE
! 'foo%' or col ~ '^foo', but not
! col LIKE '%bar'. However, if your server does not
! use the C locale you will need to create the index with a special
! operator class to support indexing of pattern-matching queries. See
! below. It is also possible to use
! B-tree indexes for ILIKE and
! ~*, but only if the pattern starts with
! non-alphabetic characters, i.e. characters that are not affected by
! upper/lower case conversion.
+
index