Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T9rAO-00038U-0I for pgsql-bugs@postgresql.org; Fri, 07 Sep 2012 05:31:44 +0000 Received: from szxga02-in.huawei.com ([119.145.14.65]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T9rAL-0002au-S9 for pgsql-bugs@postgresql.org; Fri, 07 Sep 2012 05:31:43 +0000 Received: from 172.24.2.119 (EHLO szxeml202-edg.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.4-GA FastPath queued) with ESMTP id AOQ51454; Fri, 07 Sep 2012 13:31:36 +0800 (CST) Received: from SZXEML419-HUB.china.huawei.com (10.82.67.158) by szxeml202-edg.china.huawei.com (172.24.2.42) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 7 Sep 2012 13:31:22 +0800 Received: from blrprnc09ns (10.18.96.98) by szxeml419-hub.china.huawei.com (10.82.67.158) with Microsoft SMTP Server id 14.1.323.3; Fri, 7 Sep 2012 13:31:29 +0800 From: Amit Kapila To: "'Robert Haas'" CC: "'Tom Lane'" , "'Chris Travers'" , References: <10285.1345784596@sss.pgh.pa.us> <50375cfe.a77d440a.5b24.7c45SMTPIN_ADDED@mx.google.com> <20286.1345819107@sss.pgh.pa.us> <8867.1346099641@sss.pgh.pa.us> <503ca060.016ee00a.7336.1f76SMTPIN_ADDED@mx.google.com> In-Reply-To: Subject: Re: Minor inheritance/check bug: Inconsistent behavior Date: Fri, 7 Sep 2012 11:01:28 +0530 Message-ID: <005001cd8cba$08a74cc0$19f5e640$@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: Ac2MYHAnGlwjTj9gQMe+dCTxES55RgAWTLHw Content-Language: en-us X-Originating-IP: [10.18.96.98] X-CFilter-Loop: Reflected X-Pg-Spam-Score: -0.9 (/) X-Archive-Number: 201209/63 X-Sequence-Number: 34058 On Friday, September 07, 2012 12:20 AM Amit Kapila wrote: On Tue, Aug 28, 2012 at 6:40 AM, Amit Kapila wrote: >> AFAICT during Update also, it doesn't contain useful. The only chance it >> would have contain something useful is when it goes for EvalPlanQual and >> then again comes to check for constraints. However these attributes get >> filled in heap_update much later. > >> So now should the fix be that it returns an error for system column >> reference except for OID case? > +1. I will start working on preparing a patch for the fix, if any problems, I will discuss. With Regards, Amit Kapila.