Re: Very puzzling sort behavior

Поиск
Список
Период
Сортировка
От Ken Tanzer
Тема Re: Very puzzling sort behavior
Дата
Msg-id CAD3a31W0cWepdFW5s4vu1Q0MqZGVXFs3P2t_P24CRJvRL_Ju3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Very puzzling sort behavior  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general


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?

--
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 по дате отправления:

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