Re: index: specify sort order? - Mailing list pgsql-novice

From Stephan Szabo
Subject Re: index: specify sort order?
Date
Msg-id 20050827085043.P73944@megazone.bigpanda.com
Whole thread Raw
In response to index: specify sort order?  (<me@alternize.com>)
List pgsql-novice
On Sat, 27 Aug 2005 me@alternize.com wrote:

> in ms-sql it is possible to specify the default order for an index (i.e.
> asc/desc). is this possible in pgsql as well, and if yes, how? i have
> some timestamp indices that i only use to sort the entries in descending
> sortorder...

Well, if it's a single column index and sort we should be able to use the
index backwards to do the sort (Explain would show Index Scan Backwards).
Can you give more information on what precisely you're doing?


pgsql-novice by date:

Previous
From:
Date:
Subject: index: specify sort order?
Next
From:
Date:
Subject: Re: index: specify sort order?