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 D93AED1B439 for ; Wed, 26 Nov 2003 07:14:08 +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 03163-03 for ; Wed, 26 Nov 2003 03:13:38 -0400 (AST) Received: from ar-sd.net (unknown [81.196.32.112]) by svr1.postgresql.org (Postfix) with ESMTP id A2A2ED1B434 for ; Wed, 26 Nov 2003 03:13:36 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ar-sd.net (Postfix) with ESMTP id B68D717C83; Wed, 26 Nov 2003 09:17:40 +0200 (EET) Received: from andy (unknown [192.168.0.11]) by ar-sd.net (Postfix) with SMTP id 910AB173A4; Wed, 26 Nov 2003 09:17:40 +0200 (EET) Message-ID: <003801c3b3ed$18d6feb0$0b00a8c0@andy> From: "Andrei Bintintan" To: "Stephan Szabo" Cc: "[ADMIN]" References: <017301c3b365$70935b40$0b00a8c0@andy> <005701c3b370$3d09fe40$1664a8c0@DEMOLITION> <022a01c3b373$45fc4f00$0b00a8c0@andy> <20031125095150.J20420@megazone.bigpanda.com> Subject: Re: Sensitive sort problem? Date: Wed, 26 Nov 2003 09:15:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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-Archive-Number: 200311/451 X-Sequence-Number: 11438 The db was initialized for 4 months. And in rest I did nothing regarding the initialization. I solved the problem by delete/reinit the database. I really don't know what caused this. A day before I noticed the problem I made a "live update" for suse 8.2. I will look also the log files, maybe I find there something. If I found something "strange" I post it. Thankx to all. ----- Original Message ----- From: "Stephan Szabo" To: "Andrei Bintintan" Cc: "[ADMIN]" Sent: Tuesday, November 25, 2003 7:53 PM Subject: Re: [ADMIN] Sensitive sort problem? > On Tue, 25 Nov 2003, Andrei Bintintan wrote: > > > I give an example: > > > > These are the datas from the table names: > > > > id n1 n2 > > 1 AaAa AaAa > > 2 X X > > 3 A A > > 4 a a > > 5 ab ab > > 6 _Y _Y > > 8 ..a ..a > > 9 .x .x > > 7 ...a ...a > > > > If I run: select * from names order by n1: the result is: > > > > id n1 n2 > > 4 a a > > 8 ..a ..a > > 7 ...a ...a > > 3 A A > > 1 AaAa AaAa > > 5 ab ab > > 9 .x .x > > 2 X X > > 6 _Y _Y > > > > Which I don't think that is right. I don't know what happened. But I > > find that the ASCII char order is not respected here. > > As Tom said, you've probably run initdb in a locale other than "C". > For example, I believe the above is correct for en_US.