AW: AW: [HACKERS] Re: Let's talk up 6.3

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SARZ
Тема AW: AW: [HACKERS] Re: Let's talk up 6.3
Дата
Msg-id 219F68D65015D011A8E000006F8590C6010A5241@sdexcsrv1.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
    >>
    >> > Would a rule be that
    >> > if the first attribute of an index is unique, then additional
    >> > attributes are basically useless?
    >>
    >> For PostgreSQL this is currently true, since indexes are
currently not
    >> used for order by. If you have a unique first column in an index,
    >> then all following columns could only be used for sorting,
    >> not for faster access (access actually gets worse).
    >
    >Sorry, don't follow this logic.  He is not restricting on the first
    >field of the index, so the index is not used.

Ooops, I did not look at that, I just took the sentence standalone,
and under the presumption that the first field of the index is in the where
restriction.

Andreas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: rename manual page
Следующее
От: Zeugswetter Andreas SARZ
Дата:
Сообщение: Re: [HACKERS] Re: Let's talk up 6.3