Add a reference to the documentation on alternate index operator classes in
authorNeil Conway <neilc@samurai.com>
Thu, 17 Mar 2005 00:22:24 +0000 (00:22 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 17 Mar 2005 00:22:24 +0000 (00:22 +0000)
the locale docs. Patch from Chris KL, editorialization by Neil Conway.

doc/src/sgml/charset.sgml

index cf07adba569f736b471f01b81dba23632fc4db6a..dc8a429244dff902ba13c6bd220e0b9307edf322 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/charset.sgml,v 2.70 2005/03/15 02:30:33 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/charset.sgml,v 2.71 2005/03/17 00:22:24 neilc Exp $ -->
 
 <chapter id="charset">
  <title>Localization</>
@@ -224,6 +224,15 @@ initdb --locale=sv_SE
     from being used by <literal>LIKE</>. For this reason use locales
     only if you actually need them.
    </para>
+
+   <para>
+    As a workaround to allow <productname>PostgreSQL</> to use indexes
+    with <literal>LIKE</> clauses under a non-C locale, several custom
+    operator classes exist. These allow the creation of an index that
+    performs a strict character-by-character comparison, ignoring
+    locale comparison rules. Refer to <xref linkend="indexes-opclass">
+    for more information.
+   </para>
   </sect2>
 
   <sect2>