strcoll() broken on DU 4.0d (patchlevel 2)

From: Pedro J. Lobo <pjlobo_at_euitt.upm.es>
Date: Thu, 19 Nov 1998 11:47:24 +0100 (MET)

Hi, admins.

I'm posting this message hoping that someone (appropriated) from Digital
sees it.

When installing PostgreSQL v6.4 on my system (a nice free
Object-Relational DBMS, for those of you who didn't know it), I have
noticed that the implementation of strcoll() is broken for, at least, the
locales es_ES.ISO8859-1 and fr_FR.ISO8859-1.

The problem is that when you compare mixed-case strings the output of
strcoll() is inverted. Normally, "A" is considered "smaller" than "a", and
so does strcmp(). But, strcoll() consideres "A" *greater* than "a", and
thus the sort orders are reversed. It is a minor problem, but somewhat
annoying.

If someone knows a better way to report this bug, please let me know.
Thanks in advance,

        Pedro J. Lobo

-------------------------------------------------------------------
Pedro José Lobo Perea Tel: +34 91 336 78 19
Centro de Cálculo Fax: +34 91 331 92 29
EUIT Telecomunicación - UPM e-mail: pjlobo_at_euitt.upm.es
Received on Thu Nov 19 1998 - 10:48:29 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT