Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4rVN-0001R8-2Y for pgsql-bugs@postgresql.org; Fri, 24 Aug 2012 10:52:45 +0000 Received: from szxga02-in.huawei.com ([119.145.14.65]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4rVL-0007gX-5q for pgsql-bugs@postgresql.org; Fri, 24 Aug 2012 10:52:44 +0000 Received: from 172.24.2.119 (EHLO szxeml210-edg.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.4-GA FastPath queued) with ESMTP id ANY98238; Fri, 24 Aug 2012 18:52:40 +0800 (CST) Received: from SZXEML414-HUB.china.huawei.com (10.82.67.153) by szxeml210-edg.china.huawei.com (172.24.2.183) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 24 Aug 2012 18:52:14 +0800 Received: from blrprnc09ns (10.18.96.98) by SZXEML414-HUB.china.huawei.com (10.82.67.153) with Microsoft SMTP Server id 14.1.323.3; Fri, 24 Aug 2012 18:52:08 +0800 From: Amit Kapila To: "'Tom Lane'" , "'Chris Travers'" CC: References: <10285.1345784596@sss.pgh.pa.us> In-Reply-To: <10285.1345784596@sss.pgh.pa.us> Subject: Re: Minor inheritance/check bug: Inconsistent behavior Date: Fri, 24 Aug 2012 16:22:07 +0530 Message-ID: <000301cd81e6$81f942b0$85ebc810$@kapila@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac2BtdI+psXhBPPnTCCqW/LfO0BZWQALKgCw Content-Language: en-us X-Originating-IP: [10.18.96.98] X-CFilter-Loop: Reflected X-Pg-Spam-Score: -1.1 (-) X-Archive-Number: 201208/184 X-Sequence-Number: 33908 From: pgsql-bugs-owner@postgresql.org [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of Tom Lane Sent: Friday, August 24, 2012 10:33 AM 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. Is there any problem if set tableOID before calling ExecConstarints()? I am not sure may be this is not so important problem for which we don't want to change existing code. With Regards, Amit Kapila.