Re: child table doesn't inherit PRIMARY KEY? - Mailing list pgsql-general

From Stephan Szabo
Subject Re: child table doesn't inherit PRIMARY KEY?
Date
Msg-id Pine.BSF.4.21.0101190932480.5520-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: child table doesn't inherit PRIMARY KEY?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
Probably, since I see it in near recent sources (and it affects
UNIQUE as well.  As I remember it, the last discussion on this couldn't
determine what the correct behavior for unique/primary key constraints
was in the inheritance case (is it a single unique hierarchy through
all the tables [would be needed for fk to inheritance trees] or
separate unique constraints for each table [which would be similar
to how many people seem to currently use postgres inheritance as a
shortcut]).

On Thu, 18 Jan 2001, Bruce Momjian wrote:

> Does this bug still exist?
>
> [ Charset ISO-8859-1 unsupported, converting... ]
> > Louis-David Mitterrand writes:
> >
> > > When creating a child (through CREATE TABLE ... INHERIT (parent)) it
> > > seems the child gets all of the parent's contraints _except_ its PRIMARY
> > > KEY. Is this normal?


pgsql-general by date:

Previous
From: Konstantinos Agouros
Date:
Subject: Performance-Tuning
Next
From: Stephan Szabo
Date:
Subject: Re: Performance-Tuning