using a btree index in order by clause?

Поиск
Список
Период
Сортировка
От t-ishii@sra.co.jp
Тема using a btree index in order by clause?
Дата
Msg-id 199806170213.LAA08588@srapc451.sra.co.jp
обсуждение исходный текст
Ответы Re: [HACKERS] using a btree index in order by clause?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Hi,

I'm wondering if we can use btree index to sort the results in a
certain condition. The idea is, if the order-items in the order by
clause have a btree index, then why we need to sort them again?

I'm starting to look at the executor code. However this kind of
"optimization" might be better to be done in the optimizer, I don't
know.

Suggestion?
--
Tatsuo Ishii
t-ishii@sra.co.jp


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] non-functional update notice unneccesarily
Следующее
От: Andreas Zeugswetter
Дата:
Сообщение: AW: [HACKERS] using a btree index in order by clause?