Re: Bug #566: Primary key not working correctly with - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: Bug #566: Primary key not working correctly with
Date
Msg-id 20020123080432.O18169-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Bug #566: Primary key not working correctly with inheritance  (pgsql-bugs@postgresql.org)
List pgsql-bugs
On Wed, 23 Jan 2002 pgsql-bugs@postgresql.org wrote:

> Short Description
> Primary key not working correctly with inheritance

This is a well known deficiency with the inheritance system.  Certain
things (primary and foreign keys as an example) don't inherit right now.
For primary key, AFAIK we don't have a real mechanism in place to do
a single primary key over multiple tables, but if you just want child
to be unique across itself (ie, you could insert a 1 in parent and in
child, but not two 1's in child) you can make a unique index across
child(id).

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Bug #566: Primary key not working correctly with inheritance
Next
From: Mark Rae
Date:
Subject: Error Restoring Large Database