Received: from mail1.panix.com (mail1.panix.com [166.84.0.212]) by hub.org (8.10.1/8.10.1) with ESMTP id e8B11wf99537; Sun, 10 Sep 2000 21:01:59 -0400 (EDT) Received: from panix.com (mail2.panix.com [166.84.0.213]) by mail1.panix.com (Postfix) with ESMTP id 741E8488FF; Sun, 10 Sep 2000 21:01:58 -0400 (EDT) Received: from panix.com (pyz.dialup.access.net [166.84.202.155]) by panix.com (Postfix) with ESMTP id EC27043B22; Sun, 10 Sep 2000 21:01:56 -0400 (EDT) Message-ID: <39BC3003.FC5A3449@panix.com> Date: Sun, 10 Sep 2000 21:06:11 -0400 From: Max Pyziur Organization: BRAMA - Gateway Ukraine X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: Tom Lane Cc: pgsql-admin@postgresql.org, pgsql-sql@postgresql.org, pgsql-bugs@hub.org Subject: Re: [BUGS] "ORDER BY" issue - is this a bug? References: <39BBD09C.C8F6B3F8@panix.com> <5410.968632518@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/16 Tom Lane wrote: > > Max Pyziur writes: > > I've come across what I consider an odd sorting anomaly in 7.0.2-2 where running > > the following query: > > select headline from headlines where headline like 'Alb%' order by 1 ; > > > The results in the 7.0.2-2 install come back case-insensitive and > > oblivious to punctuation. > > That's pretty bizarre (not to say difficult to believe). What LOCALE > setting are you running the postmaster in? On none of the installations - the two 6.5.x and the 7.0.2-2 one - I don't have any locale set. I get (what I think are) correct results with the first two. Does 7.0.2-2 require the setting of locale. If so, where is it documented and/or how is it done? > regards, tom lane -- Max Pyziur BRAMA - Gateway Ukraine pyz@brama.com http://www.brama.com/