Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbqfZ-00089O-Cy for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 13:53:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZbqfY-0005D3-UJ for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 13:53:12 +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.84) (envelope-from ) id 1ZbqeG-0003lB-O7 for pgsql-hackers@postgresql.org; Tue, 15 Sep 2015 13:51:52 +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.84) (envelope-from ) id 1ZbqeE-0002f2-6O; Tue, 15 Sep 2015 13:51:52 +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 t8FDpmNt022835; Tue, 15 Sep 2015 09:51:48 -0400 From: Tom Lane To: Jan Wieck cc: Kevin Grittner , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Fix an O(N^2) problem in foreign key references. In-reply-to: <55F81C48.4020009@wi3ck.info> References: <10758.1442239007@sss.pgh.pa.us> <55F81C48.4020009@wi3ck.info> Comments: In-reply-to Jan Wieck message dated "Tue, 15 Sep 2015 09:25:28 -0400" Date: Tue, 15 Sep 2015 09:51:48 -0400 Message-ID: <22834.1442325108@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Jan Wieck writes: > On 09/14/2015 09:56 AM, Tom Lane wrote: >> Kevin Grittner writes: >>> Fix an O(N^2) problem in foreign key references. >> Judging from the buildfarm, this patch is broken under >> CLOBBER_CACHE_ALWAYS. See friarbird's results in particular. >> I might be too quick to finger this patch, but nothing else >> lately has touched foreign-key behavior, and the foreign_key >> test is where things are going south. > I'm able to reproduce that failure with CLOBBER_CACHE_ALWAYS and it > definitely is caused by this commit. Do you want to back it out for the > time being? Kevin is on vacation right now. I'll take a look today, and either fix it if I can find the problem quickly or back it out. (If anyone else is already looking at it, happy to defer to you...) regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers