X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 772BAD1B432 for ; Tue, 25 Nov 2003 16:42:09 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 93667-03 for ; Tue, 25 Nov 2003 12:41:37 -0400 (AST) Received: from ar-sd.net (unknown [81.196.32.112]) by svr1.postgresql.org (Postfix) with ESMTP id 3AEA4D1D8B5 for ; Tue, 25 Nov 2003 12:41:36 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ar-sd.net (Postfix) with ESMTP id 8A62E1D6E1 for ; Tue, 25 Nov 2003 18:45:42 +0200 (EET) Received: from andy (unknown [192.168.0.11]) by ar-sd.net (Postfix) with SMTP id 5BCFF1D6DD for ; Tue, 25 Nov 2003 18:45:42 +0200 (EET) Message-ID: <022a01c3b373$45fc4f00$0b00a8c0@andy> From: "Andrei Bintintan" To: "[ADMIN]" References: <017301c3b365$70935b40$0b00a8c0@andy> <005701c3b370$3d09fe40$1664a8c0@DEMOLITION> Subject: Re: Sensitive sort problem? Date: Tue, 25 Nov 2003 18:43:36 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0227_01C3B384.08C3F1E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.7 tagged_above=0.0 required=5.0 tests=HTML_40_50, REFERENCES X-Spam-Level: X-Archive-Number: 200311/428 X-Sequence-Number: 11415 This is a multi-part message in MIME format. ------=_NextPart_000_0227_01C3B384.08C3F1E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I give an example: These are the datas from the table names:=20 id n1 n2=20=20=20 1 AaAa AaAa=20=20=20 2 X X=20=20=20 3 A A=20=20=20 4 a a=20=20=20 5 ab ab=20=20=20 6 _Y _Y=20=20=20 8 ..a ..a=20=20=20 9 .x .x=20=20=20 7 ...a ...a If I run: select * from names order by n1: the result is: =20 id n1 n2=20=20=20 4 a a=20=20=20 8 ..a ..a=20=20=20 7 ...a ...a=20=20=20 3 A A=20=20=20 1 AaAa AaAa=20=20=20 5 ab ab=20=20=20 9 .x .x=20=20=20 2 X X=20=20=20 6 _Y _Y=20=20=20 Which I don't think that is right. I don't know what happened. But I find t= hat the ASCII char order is not respected here. I have another machine on which the result is okay....I don't have a clue. Andy. ----- Original Message -----=20 From: Donald Fraser=20 To: [ADMIN]=20 Sent: Tuesday, November 25, 2003 6:21 PM Subject: Re: [ADMIN] Sensitive sort problem? PostgreSQL 7.3.x and anything below has never had case insensitive sortin= g - period. I can't speak for the new 7.4 version? =20=20=20 If you want to add a case insensitive data type try this: http://gborg.postgresql.org/project/citext/projdisplay.php =20=20=20 =20=20=20 Regards Donald Fraser. ----- Original Message -----=20 From: Andrei Bintintan=20 To: pgsql-admin@postgresql.org=20 Sent: Tuesday, November 25, 2003 3:04 PM Subject: [ADMIN] Sensitive sort problem? Hi to everyone,=20 I don't know exactly if i'm sending my problem in the right place, hope= you can help me.=20 I use postgresql db. 7.3.2.=20 Today I noticed that my database does not sort "case sensitive" anymore= . If I have a query like: Select name from names order by name -- the names are not resulted as = they should. 'ax' is after 'Aa' and so one.=20 I don't know since when is this problem I noticed it just now. I use Su= se 8.2 and yesterday evening I made a live update. Could this be the proble= m? I restored the system and ... the problem remains.=20 I also have another linux system, there the db works fine.=20 Does anyone has any ideea???? Are there any settings for something like= this? Thnkx. Andy. ------=_NextPart_000_0227_01C3B384.08C3F1E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I give an example:
 
These are the datas from the table names:= =20
 
id   n1   n2 &nbs= p;=20
1   AaAa    AaAa  =20
2    X     X  =20
3    A     A  =20
4   a    a  
5  =20 ab    ab  
6   _Y   = =20 _Y  
8   ..a    ..a  =20
9   .x    .x  
7  =20 ...a    ...a
 
If I run: select * from names= order by=20 n1: the result is:
 
id   n1   n2 &nbs= p;=20
4   a    a &= nbsp;=20
8   ..a    ..a  
7  = =20 ...a    ...a  
3   =20 A     A  
1   AaAa  &= nbsp;=20 AaAa  
5   ab    ab  =20
9   .x    .x  
2  &nbs= p;=20 X     X  
6   _Y  &nb= sp;=20 _Y  
 
Which I don't think that is right. I don't= know=20 what happened. But I find that the ASCII char order is not respected=20 here.
 
I have another machine on which the result= is=20 okay....I don't have a clue.
 
Andy.
 
----- Original Message -----
Fro= m:=20 Donald F= raser=20
To: [ADMIN]
Sent: Tuesday, November 25, 2003 6= :21=20 PM
Subject: Re: [ADMIN] Sensitive sor= t=20 problem?

PostgreSQL 7.3.x and anything below has = never had=20 case insensitive sorting - period.
I can't speak for the new 7.4=20 version?
 
If you want to add a case insensitive da= ta type=20 try this:
http:= //gborg.postgresql.org/project/citext/projdisplay.php
 
 
Regards
Donald Fraser.
----- Original Message -----
F= rom:=20 Andrei= =20 Bintintan
To: pgsql-admin@postgresql.org
Sent: Tuesday, November 25, 2003= 3:04=20 PM
Subject: [ADMIN] Sensitive sort= =20 problem?

Hi to everyone,
 
I don't know exactly if i'm sending my= problem=20 in the right place, hope you can help me.
 
I use postgresql db. 7.3.2.
 
Today I noticed that my database does = not sort=20 "case sensitive" anymore. If I have a query like:
Select name from names order by name&n= bsp; --=20 the names are not resulted as they should. 'ax' is after 'Aa' and so on= e.=20
 
I don't know since when is this proble= m I=20 noticed it just now. I use Suse 8.2 and yesterday evening I made a live= =20 update. Could this be the problem? I restored the system and ... the pr= oblem=20 remains.
 
I also have another linux system, ther= e the db=20 works fine.
 
Does anyone has any ideea???? Are ther= e any=20 settings for something like this?
 
Thnkx.
Andy.
 
------=_NextPart_000_0227_01C3B384.08C3F1E0--