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

Поиск
Список
Период
Сортировка
От Max Pyziur
Тема Re: "ORDER BY" issue - is this a bug?
Дата
Msg-id 39BC3003.FC5A3449@panix.com
обсуждение исходный текст
Ответ на "ORDER BY" issue - is this a bug?  (Max Pyziur <pyz@panix.com>)
Ответы Re: "ORDER BY" issue - is this a bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "ORDER BY" issue - is this a bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "ORDER BY" issue - is this a bug?