Improvement to charset docs

Поиск
Список
Период
Сортировка
Искать

Improvement to charset docs

От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
This just adds a link to the pattern_ops operator class section from the 
part of the locale docs that mentions that indexes don't work for LIKE 
under a non-C locale.

(untested)

Chris
Index: doc/src/sgml/charset.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/charset.sgml,v
retrieving revision 2.69
diff -c -r2.69 charset.sgml
*** doc/src/sgml/charset.sgml	14 Mar 2005 18:31:19 -0000	2.69
--- doc/src/sgml/charset.sgml	15 Mar 2005 01:55:10 -0000
***************
*** 224,229 ****
--- 224,236 ----
      from being used by LIKE</>. For this reason use locales
      only if you actually need them.
     
+ 
+    
+     As a workaround to allow PostgreSQL</> to index
+     LIKE</> under a non-C locale, several custom operator classes
+     exist that allow a strict character-by-character comparison, ignoring
+     locale comparison rules.
+    
    
  
    

Re: Improvement to charset docs

От:
Neil Conway <neilc@samurai.com>
Дата:
Christopher Kings-Lynne wrote:
> This just adds a link to the pattern_ops operator class section from the 
> part of the locale docs that mentions that indexes don't work for LIKE 
> under a non-C locale.

Patch applied, with some changes. We can't assume that the reader can 
follow hyperlinks, since they won't be available in every format (e.g. 
printouts of a PDF). So the text should be written with an explicit 
section reference as well as a link.

-Neil
FAQ