Re: descending index - Mailing list pgsql-general

From Pirtea Calin
Subject Re: descending index
Date
Msg-id a5j8g3$1jhs$1@jupiter.hub.org
Whole thread Raw
List pgsql-general
"Björn Lundin" wrote:
> Can't you use 'order by' with 'asc or desc' ?
> /Björn

Of course. I just wanted to know if there is a diference between using
order by field asc/desc regarding the way indexes are used in plans
when you execute a query. In Firebird when using order by desc it uses
the descending index if available if not then it uses natural scan with
sort descending. Does PostgreSQL use the ascending index both for
asc and desc order by?

Thanks in advance.

--
Best regards,
Aplication Developer
Pirtea Calin Iancu
S.C. SoftScape S.R.L.
pcalin@rdsor.ro


pgsql-general by date:

Previous
From: "Bart Callear"
Date:
Subject: Re: Mysql - not again
Next
From: "Gregory Wood"
Date:
Subject: Re: System Messages