Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbrSv-0001c6-9R for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 14:44:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZbrSu-0008LB-Ln for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 14:44:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZbrRb-0006po-ER for pgsql-hackers@postgresql.org; Tue, 15 Sep 2015 14:42:51 +0000 Received: from mail-qg0-f48.google.com ([209.85.192.48]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZbrRU-0005C1-CE for pgsql-hackers@postgresql.org; Tue, 15 Sep 2015 14:42:50 +0000 Received: by qgx61 with SMTP id 61so144633241qgx.3 for ; Tue, 15 Sep 2015 07:42:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=kEzPNJMAb87LLHijMX5jIc7u8C507tAFrGseXwT1pBM=; b=JdcMe/A6eUl4Qqmgh00mlLmFJ7Vhl6SBqE019inyHCNtkAVNmOpYQgLCvNT4PM4mIc DKmYZyyOqIUaZp0GtuLphfdx4vYK97v02aU0LNkeyvhm8e80DHJ9BlVjR4mjpCdc3XgU Yz74WsBU5/j3C5HR/FgTG+U9pdNtzk4/r+jRiDInsME2mW/4faMx3yN7LACed1Kfbtuw mJ0mCbKfyRu1cqGcb7kmrS26Wosx/BuPLT4BwpT2tBo3nKGK5g/bXB0UaympaeVOM0z+ 4v3U2U6pP0mNan1sj1/S/GCxfSdtWNpXwt3OR4cskg1AyFJzP+01BV/SQLzik1oaeP62 I0Zw== X-Gm-Message-State: ALoCoQlnIfbGUNhiEbU9xg2FlUg0yr7lF6RtvZLKXHtK/nadFPtdLI8QuuNqHxHd1ENex4wfFcKs X-Received: by 10.140.194.8 with SMTP id p8mr21121580qha.63.1442328163427; Tue, 15 Sep 2015 07:42:43 -0700 (PDT) Received: from jupiter.onmars.janwieck.no-ip.info (pool-173-49-130-135.phlapa.fios.verizon.net. [173.49.130.135]) by smtp.googlemail.com with ESMTPSA id 18sm8077232qgg.39.2015.09.15.07.42.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 07:42:42 -0700 (PDT) Message-ID: <55F82E62.1020301@wi3ck.info> Date: Tue, 15 Sep 2015 10:42:42 -0400 From: Jan Wieck User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Tom Lane CC: Kevin Grittner , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Fix an O(N^2) problem in foreign key references. References: <10758.1442239007@sss.pgh.pa.us> <55F81C48.4020009@wi3ck.info> <22834.1442325108@sss.pgh.pa.us> In-Reply-To: <22834.1442325108@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 09/15/2015 09:51 AM, Tom Lane wrote: > 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...) I am looking at it. Unfortunately I'm not getting any usable backtrace yet. Regards, Jan -- Jan Wieck Senior Software Engineer http://slony.info -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers