Re: Very puzzling sort behavior

Поиск
Список
Период
Сортировка
От Ken Tanzer
Тема Re: Very puzzling sort behavior
Дата
Msg-id CAD3a31XPeZ8noMkx6XkfuCsBJiPxzas=vyfC9SW2NxTxTOcg6A@mail.gmail.com
обсуждение исходный текст
Ответ на Very puzzling sort behavior  (Ken Tanzer <ken.tanzer@gmail.com>)
Список pgsql-general
Alright never mind, I guess I see what's going on.  Thanks!

Ken

On Thu, Sep 10, 2015 at 12:51 PM, Ken Tanzer <ken.tanzer@gmail.com> wrote:


On Thu, Sep 10, 2015 at 12:47 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Peter Geoghegan <peter.geoghegan86@gmail.com> writes:
> On Thu, Sep 10, 2015 at 12:35 PM, Ken Tanzer <ken.tanzer@gmail.com> wrote:
>> Any thoughts about what's going on, what to do about it, or what obvious point I missing?  Thanks in advance!

> This is the expected behavior.

If you don't like it, sort in C locale ...

                        regards, tom lane

OK, can one of you help me out in understanding this?  I would have thought that given "CLARK," and "CLARKE" that the comma would get compared against the E and come first.  End of story, before we even get to anything farther in the string.  What am I missing?

--
learn more about AGENCY or
follow the discussion.



--
AGENCY Software  
A Free Software data system
By and for non-profits
(253) 245-3801

learn more about AGENCY or
follow the discussion.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Very puzzling sort behavior
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Very puzzling sort behavior