Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] "ORDER BY" issue - is this a bug?

From: Max Pyziur <pyz(at)panix(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org, pgsql-bugs(at)hub(dot)org
Subject: Re: [BUGS] "ORDER BY" issue - is this a bug?
Date: 2000-09-11 01:06:11
Message-ID: 39BC3003.FC5A3449@panix.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-bugspgsql-sql
Tom Lane wrote:
> 
> Max Pyziur <pyz(at)panix(dot)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(at)brama(dot)com                                  http://www.brama.com/

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2000-09-11 01:50:41
Subject: Re: [BUGS] "ORDER BY" issue - is this a bug?
Previous:From: Tom LaneDate: 2000-09-11 00:35:18
Subject: Re: [BUGS] "ORDER BY" issue - is this a bug?

pgsql-bugs by date

Next:From: Tom LaneDate: 2000-09-11 01:50:41
Subject: Re: [BUGS] "ORDER BY" issue - is this a bug?
Previous:From: Tom LaneDate: 2000-09-11 00:35:18
Subject: Re: [BUGS] "ORDER BY" issue - is this a bug?

pgsql-sql by date

Next:From: Tom LaneDate: 2000-09-11 01:50:41
Subject: Re: [BUGS] "ORDER BY" issue - is this a bug?
Previous:From: Tom LaneDate: 2000-09-11 00:35:18
Subject: Re: [BUGS] "ORDER BY" issue - is this a bug?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group