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

From Grzegorz Jaskiewicz
Subject Re: order by, for custom types
Date
Msg-id 6D092A8C-B5CF-4F9E-AF6E-D601C2A2696C@pointblue.com.pl
Whole thread Raw
In response to Re: order by, for custom types  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
On 2005-11-22, at 17:17, Martijn van Oosterhout wrote:

> On Tue, Nov 22, 2005 at 05:14:35PM +0100, Grzegorz Jaskiewicz wrote:
>> Ok, I hacked btree for my type, and surely I can have both btree and
>> gist at the same time on the same column.
>> /me is now going to have a look on btree_gist.
>
> You don't actually have to have a btree defined on your column for
> ORDER BY to work, you just need to define a btree OPERATOR CLASS so
> that PostgreSQL knows what you mean by "ORDER BY".
yep, I know. Thanks.
Anyhow, I wanted to see if having two indexes will make it faster/ 
slower. and if it is possible in first place.

-- 
GJ

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





pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Practical error logging for very large COPY
Next
From: "Gevik"
Date:
Subject: Re: TODO item "%Allow pg_hba.conf be controlled via