Re: A plan returned by explain doesn't make sense to me

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: A plan returned by explain doesn't make sense to me
Дата
Msg-id 25908.1018029046@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: A plan returned by explain doesn't make sense to me  ("Nick Fankhauser" <nickf@ontko.com>)
Список pgsql-admin
"Nick Fankhauser" <nickf@ontko.com> writes:
> So is a multi-column index really just two separate indexes with a
> constraint added if necessary? I guess I had an idea in my head that it
> would be something like an index on the concatenation of the two fields.

Well, it *is* an index on the concatenation of the fields --- but you
can perfectly well use that to search for values of the first field.
(You can't use it to search for values of the second field without
the first, however.)

            regards, tom lane

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

Предыдущее
От: "Marin Dimitrov"
Дата:
Сообщение: Re: Data Files
Следующее
От: d_nardini@btconnect.com
Дата:
Сообщение: PG 7.2 install on RH 7.0 dependency errors