From: Tom Lane <tgl@sss.pgh.pa.us>
To: Moshe Jacobson <moshe@neadwerx.com>
Cc: pgsql-bugs@postgresql.org
Cc: Robert Mowlavi <robert@neadwerx.com>
Subject: Re: Foreign key constraint not enforced??
Date: Thu, 24 Apr 2014 11:34:14 -0400
Message-ID: <31609.1398353654@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJ4CxLkR2VaZV26w=2T8V19s2Ph5xNtPDCoPFDghs5PoWhQKSA@mail.gmail.com>
References: <CAJ4CxLkR2VaZV26w=2T8V19s2Ph5xNtPDCoPFDghs5PoWhQKSA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Moshe Jacobson <moshe@neadwerx.com> writes:
> I'm not sure what is going on here. I feel like I'm missing something
> obvious. Seems like a bug, so I'm posting on -bugs.
Just guessing from the mention of child tables in the \d output:
you do realize that foreign key constraints don't bind child tables?
See "Caveats" at the bottom of
http://www.postgresql.org/docs/9.3/static/ddl-inherit.html
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, moshe@neadwerx.com, robert@neadwerx.com
Subject: Re: Foreign key constraint not enforced??
In-Reply-To: <31609.1398353654@sss.pgh.pa.us>
References: <CAJ4CxLkR2VaZV26w=2T8V19s2Ph5xNtPDCoPFDghs5PoWhQKSA@mail.gmail.com> <31609.1398353654@sss.pgh.pa.us>
* 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