Re: order by, for custom types

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема Re: order by, for custom types
Дата
Msg-id Pine.GSO.4.63.0511182224530.29329@ra.sai.msu.su
обсуждение исходный текст
Ответ на order by, for custom types  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
On Fri, 18 Nov 2005, Grzegorz Jaskiewicz wrote:

> Hi folks
>
> I have all operators required for b-tree, gist up here, and gist index 
> defined. But still "order by custom_type" won't work.
> I have kind of wild card masks in my type definition, so b-tree won't work. 
> But still, do I need to define b-tree index as such for "order by" to work ?
> Perhaps gist should be expanded so it would take care of "order by" and 
> "distinct" ?

look contrib/ltree for reference (sql/ltree.sql)

>
> Thanks.
>
>
>
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


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

Предыдущее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: order by, for custom types
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: CLUSTER and clustered indices