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

From Grzegorz Jaskiewicz
Subject order by, for custom types
Date
Msg-id 2390D5C8-7532-480B-9356-3B5ADDA4159E@pointblue.com.pl
Whole thread Raw
Responses Re: order by, for custom types  (Oleg Bartunov <oleg@sai.msu.su>)
Re: order by, for custom types  (Greg Stark <gsstark@mit.edu>)
Re: order by, for custom types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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" ?

Thanks.


-- 
GJ

"If we knew what we were doing, it wouldn't be called Research, would  
it?" - AE





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improving count(*)
Next
From: Oleg Bartunov
Date:
Subject: Re: order by, for custom types