Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3oNk-0001yB-9V for pgsql-committers@arkaria.postgresql.org; Wed, 04 Apr 2018 19:47:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f3oNi-0002c6-4C for pgsql-committers@arkaria.postgresql.org; Wed, 04 Apr 2018 19:47:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3oNh-0002bx-Uo for pgsql-committers@lists.postgresql.org; Wed, 04 Apr 2018 19:47:41 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f3oNf-0007op-4X for pgsql-committers@lists.postgresql.org; Wed, 04 Apr 2018 19:47:41 +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 w34JlYTH025410; Wed, 4 Apr 2018 15:47:35 -0400 From: Tom Lane To: Andres Freund cc: Alvaro Herrera , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Restore erroneously removed ONLY from PK check In-reply-to: <20180404194153.hangv6vcuwulyjrc@alap3.anarazel.de> References: <20180404194153.hangv6vcuwulyjrc@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 04 Apr 2018 12:41:53 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25408.1522871254.1@sss.pgh.pa.us> Date: Wed, 04 Apr 2018 15:47:34 -0400 Message-ID: <25409.1522871254@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Shouldn't the difference due to the ONLY be visible in cases with > inheritance? As in, spuriously succeeding or such? Seems like > something that a normal regression test would be good for? Yeah, if it actually matters (which I think it does), it shouldn't be hard to devise a regression test that shows a behavioral difference. regards, tom lane