Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdLfI-0005DA-Q0 for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Apr 2014 15:34:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WdLfI-0005rL-9r for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Apr 2014 15:34:20 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdLfH-0005rE-8D for pgsql-bugs@postgresql.org; Thu, 24 Apr 2014 15:34:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdLfE-0006GT-Gq for pgsql-bugs@postgresql.org; Thu, 24 Apr 2014 15:34:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s3OFYEIk031610; Thu, 24 Apr 2014 11:34:15 -0400 From: Tom Lane To: Moshe Jacobson cc: pgsql-bugs@postgresql.org, Robert Mowlavi Subject: Re: Foreign key constraint not enforced?? In-reply-to: References: Comments: In-reply-to Moshe Jacobson message dated "Thu, 24 Apr 2014 11:14:54 -0400" Date: Thu, 24 Apr 2014 11:34:14 -0400 Message-ID: <31609.1398353654@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Moshe Jacobson 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