Re: descending index

Поиск
Список
Период
Сортировка
От CoL
Тема Re: descending index
Дата
Msg-id 3C7D8432.7060606@mportal.hu
обсуждение исходный текст
Ответ на Re: descending index  ("Pirtea Calin" <pcalin@rdsor.ro>)
Список pgsql-general
Pirtea Calin wrote:
> "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.
>
Both.

C.



В списке pgsql-general по дате отправления:

Предыдущее
От: "Eduardo José Hernández Cisneros"
Дата:
Сообщение: pgaccess
Следующее
От: Benjamin Franks
Дата:
Сообщение: COPY FROM and TABLE LOCK question