From: Neil Conway Date: Thu, 17 Mar 2005 00:22:24 +0000 (+0000) Subject: Add a reference to the documentation on alternate index operator classes in X-Git-Tag: REL8_1_0BETA1~1191 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=957f51ea6ba96709b87dbed00ee54df4a9a8a6c9;p=thirdparty%2Fpostgresql.git Add a reference to the documentation on alternate index operator classes in the locale docs. Patch from Chris KL, editorialization by Neil Conway. --- diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml index cf07adba569..dc8a429244d 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>