Re: "ORDER BY" issue - is this a bug? - Mailing list pgsql-bugs

From Max Pyziur
Subject Re: "ORDER BY" issue - is this a bug?
Date
Msg-id 39BC3003.FC5A3449@panix.com
Whole thread Raw
In response to "ORDER BY" issue - is this a bug?  (Max Pyziur <pyz@panix.com>)
Responses Re: "ORDER BY" issue - is this a bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
>
> Max Pyziur <pyz@panix.com> 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/

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: "ORDER BY" issue - is this a bug?
Next
From: Tom Lane
Date:
Subject: Re: "ORDER BY" issue - is this a bug?