Re: Indexes and inheritance - Mailing list pgsql-novice

From Alan Hodgson
Subject Re: Indexes and inheritance
Date
Msg-id 200603240932.37440@hal.medialogik.com
Whole thread Raw
In response to Indexes and inheritance  ("Pierre Thibaudeau" <pierdeux@gmail.com>)
Responses Re: Indexes and inheritance  ("Pierre Thibaudeau" <pierdeux@gmail.com>)
List 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 by date:

Previous
From: "Pierre Thibaudeau"
Date:
Subject: Indexes and inheritance
Next
From:
Date:
Subject: help with a view (join-query)