Re: index: specify sort order?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: index: specify sort order?
Дата
Msg-id 20050827085043.P73944@megazone.bigpanda.com
обсуждение исходный текст
Ответ на index: specify sort order?  (<me@alternize.com>)
Список 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 по дате отправления:

Предыдущее
От:
Дата:
Сообщение: index: specify sort order?
Следующее
От:
Дата:
Сообщение: Re: index: specify sort order?