BUG #1972: index error with space character - Mailing list pgsql-bugs

From Eduardo Soares
Subject BUG #1972: index error with space character
Date
Msg-id 20051017170021.03FEBF12A4@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #1972: index error with space character
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1972
Logged by:          Eduardo Soares
Email address:      edurbs@gmail.com
PostgreSQL version: 8.0.3
Operating system:   Linux Fedora 4
Description:        index error with space character
Details:

In above example the "AZTES Z" should be after the "AZTESA". It happens with
any encoding type. The DB not see the space character. The index shoulb see
the space and put "AZTES Z" together with "AZTES". In above list the
"AZTESA" should be the first.

Thanks for the help.

table=# insert into edu values ('AZTES Z');
INSERT 133634 1
table=# insert into edu values ('AZTESA');
INSERT 133635 1
table=# SELECT * FROM EDU ORDER BY NOME DESC;
     nome
---------------
 AZTES Z
 AZTESA
 AZTES
 ÃNTES
 ANTES
(8 registros)

pgsql-bugs by date:

Previous
From: "Mark Gibson"
Date:
Subject: BUG #1970: Existing /etc/pam.d/postgresql clobbered by RPM install
Next
From: "jayesh"
Date:
Subject: BUG #1969: Unable to Install