Re: descending index

From: "Pirtea Calin" <pcalin(at)rdsor(dot)ro>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: descending index
Date: 2002-02-27 18:23:31
Message-ID: a5j8g3$1jhs$1@jupiter.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)rdsor(dot)ro

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Wood 2002-02-27 19:14:02 Re: System Messages
Previous Message Bart Callear 2002-02-27 18:10:40 Re: Mysql - not again