Re: Indexes and inheritance

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Indexes and inheritance
Дата
Msg-id 200603240932.37440@hal.medialogik.com
обсуждение исходный текст
Ответ на Indexes and inheritance  ("Pierre Thibaudeau" <pierdeux@gmail.com>)
Ответы Re: Indexes and inheritance
Список pgsql-novice
On March 23, 2006 09:42 pm, "Pierre Thibaudeau" <pierdeux@gmail.com> wrote:
> I have a "daughter" table that inherits from a "mother" table.  The
> mother table has an index on column A.  Would there be any point on
> creating an index on column A of the daughter?  If so, in what
> circumstances?
>

Indexes are not inherited, so in fact you have to create the  index on
column A of the daughter if you want the expected behaviour.

--
Alan

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

Предыдущее
От: "Pierre Thibaudeau"
Дата:
Сообщение: Indexes and inheritance
Следующее
От:
Дата:
Сообщение: help with a view (join-query)