Re: INHERITS doesn't offer enough functionality - Mailing list pgsql-hackers

From Oliver Elphick
Subject Re: INHERITS doesn't offer enough functionality
Date
Msg-id 200010181157.e9IBvfk14051@linda.lfix.co.uk
Whole thread Raw
In response to Re: INHERITS doesn't offer enough functionality  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: INHERITS doesn't offer enough functionality
List pgsql-hackers
Bruce Momjian wrote: >> Alfred Perlstein wrote: >> >  >> > I noticed that INHERITS doesn't propogate indecies, It'd be
nice>> > if there was an toption to do so. >>  >> Yep it would. Are you volunteering? >>  > >Added to TODO: > >    *
Allowinherited tables to inherit index
 

What is the spec for this?  

Do you mean that inheriting tables should share a single index with their
ancestors, or that each descendant should get a separate index on the
same pattern as its ancestors'?  

With the former, the inherited index could be used to enforce a primary
key over a whole inheritance hierarchy, and would presumable make it
easier to implement RI against an inheritance hierarchy.  Is this what
you have in mind?



-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "Delight thyself also in the LORD; and he shall give      thee the desires
ofthine heart."          Psalms 37:4
 




pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: AW: Backup, restore & pg_dump
Next
From: Thomas Lockhart
Date:
Subject: Re: AW: Re: [BUGS] UPPER and LOWER dosen't work correctly on special caracters (umlauts)