From 957f51ea6ba96709b87dbed00ee54df4a9a8a6c9 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Thu, 17 Mar 2005 00:22:24 +0000 Subject: [PATCH] Add a reference to the documentation on alternate index operator classes in the locale docs. Patch from Chris KL, editorialization by Neil Conway. --- doc/src/sgml/charset.sgml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml index cf07adba56..dc8a429244 100644 --- a/doc/src/sgml/charset.sgml +++ b/doc/src/sgml/charset.sgml @@ -1,4 +1,4 @@ - + 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>