Re: order by, for custom types - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: order by, for custom types
Date
Msg-id Pine.GSO.4.63.0511182224530.29329@ra.sai.msu.su
Whole thread Raw
In response to order by, for custom types  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List 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 by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: order by, for custom types
Next
From: "Kevin Grittner"
Date:
Subject: Re: CLUSTER and clustered indices