Inheritance and Constraint

From: Alexandre FLAMENT <_alf(at)caramail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Inheritance and Constraint
Date: 2000-09-06 15:01:39
Message-ID: 968256096019796@caramail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I made a table contenu, with idcontenu (of type serial) as
primary key. A second table (image) inherits of contenu. The
problem is the primary wasn't apply to the table image : I
can insert two rows the same idcontenu. Is it normal ? How
can I propagate the constraint ?
______________________________________________________
Boîte aux lettres - Caramail - http://www.caramail.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-09-06 15:04:08 Re: "Unrecognized variable client_encoding"
Previous Message Cristian D. GAL 2000-09-06 14:54:55 Question