From: Franz J Fortuny <ffortuny@ivsol.com>
To: pgsql-sql@postgresql.org
Subject: Referential integrity: broken rule?
Date: Wed, 11 Oct 2000 14:18:26 -0500
Message-ID: <013401c033b8$087d91e0$3167a8c0@chapur> (raw)
This table:
create table things
(
idthing integer not null,
isthis boolean not null
primary key(idthing,isthis)
....
)
would be referenced by this one:
create table forthings
(
fromthing integer not null references things(idthing),
....
)
The above SHOULD NOT be accepted, since table "things" did not declare
idthing as UNIQUE. However, it IS accepted under PostgreSQL (7.0.2).
Am I wrong?
Best regards,
F J Fortuny
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: ffortuny@ivsol.com
Subject: Re: Referential integrity: broken rule?
In-Reply-To: <013401c033b8$087d91e0$3167a8c0@chapur>
References: <013401c033b8$087d91e0$3167a8c0@chapur>
* 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