| От | Alvaro Herrera |
|---|---|
| Тема | Re: Ascending / Descending Indexes |
| Дата | |
| Msg-id | 20090714134941.GA4799@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Ascending / Descending Indexes (Michael Gould <mgould@intermodalsoftwaresolutions.net>) |
| Список | pgsql-general |
Michael Gould wrote: > In some SQL engines the engine doesn't need to define both Ascending and > Descending indexes on the same column. Does Postgres need to have indexes > defined for both Ascending and Descending sorts? We use quite a few of > these types of sorts. A single btree index can be used for both cases. (Unless you want some columns ascending and other columns descending, in which case you need to work extra.) -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера