Re: Bug #566: Primary key not working correctly with

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: <aid(at)logic(dot)org(dot)uk>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Bug #566: Primary key not working correctly with
Date: 2002-01-23 16:09:21
Message-ID: 20020123080432.O18169-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


On Wed, 23 Jan 2002 pgsql-bugs(at)postgresql(dot)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).

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Rae 2002-01-24 10:12:05 Error Restoring Large Database
Previous Message Bruce Momjian 2002-01-23 15:55:51 Re: Bug #566: Primary key not working correctly with inheritance