From: Matt <matthew.berardi@weilpublishing.com>
To: pgsql-sql@postgresql.org
Subject: inheritance problems
Date: Tue, 11 Jun 2002 12:19:05 -0400
Message-ID: <3D0622F9.1060506@weilpublishing.com> (raw)
I have a very general table, Orders, from which three other tables are
children. Orders has only two columns cid, oid, have primary key(oid,
cid). I want all the children to also have this primary key, and I want
uniqness of the primary key enforced accross all children. this was the
reason I decided to use inheritance, however I can insert the same entry
in two children and then look at the duplicates in the Orders :( is it
possible, and if so, how is it done; to have unique primary keys accross
all the children.
Matthew Berardi
WeilPublishing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: matthew.berardi@weilpublishing.com
Subject: Re: inheritance problems
In-Reply-To: <3D0622F9.1060506@weilpublishing.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox