Natural sort order

Поиск
Список
Период
Сортировка
От Richard Klingler
Тема Natural sort order
Дата
Msg-id 20111217113306531983.1eb85a86@klingler.net
обсуждение исходный текст
Ответы Re: Natural sort order  (Filip Rembiałkowski <plk.zuber@gmail.com>)
Re: Natural sort order  ("F. BROUARD / SQLpro" <sqlpro@club-internet.fr>)
Список pgsql-sql
Morning...

What is the fastest way to achieve natural ordering from queries?

I found a function at: 
http://2kan.tumblr.com/post/361326656/postgres-natural-ordering

But it increases the query time from around 0.4msecs to 74msecs...
Might be not much if occasional queries are made..but I use it for 
building
up a hierarchical tree menu in a web application where every msecs 
counts (o;


cheers
richard



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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: Column "..." does not exist (view + union)
Следующее
От: Stefan Weiss
Дата:
Сообщение: Re: Column "..." does not exist (view + union)