Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4m3H-0006vI-6b for pgsql-bugs@postgresql.org; Fri, 24 Aug 2012 05:03:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4m3C-00030C-Ho for pgsql-bugs@postgresql.org; Fri, 24 Aug 2012 05:03:22 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q7O53Hil010286; Fri, 24 Aug 2012 01:03:17 -0400 (EDT) From: Tom Lane To: Chris Travers cc: pgsql-bugs@postgresql.org Subject: Re: Minor inheritance/check bug: Inconsistent behavior In-reply-to: References: Comments: In-reply-to Chris Travers message dated "Thu, 23 Aug 2012 18:09:49 -0700" Date: Fri, 24 Aug 2012 01:03:16 -0400 Message-ID: <10285.1345784596@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) X-Archive-Number: 201208/183 X-Sequence-Number: 33907 Chris Travers writes: > My guess is that tableoid is not known when the check constraint is > checked. None of the system columns are set at the time check constraints are checked. regards, tom lane