Add a reference to the documentation on alternate index operator classes in

the locale docs. Patch from Chris KL, editorialization by Neil Conway.
This commit is contained in:
Neil Conway 2005-03-17 00:22:24 +00:00
parent d663d3ba3a
commit 957f51ea6b
1 changed files with 10 additions and 1 deletions

View 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>