Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbqEs-0007Dk-KK for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 13:25:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZbqEs-0006OL-64 for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Sep 2015 13:25:38 +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 1ZbqEq-0006Kt-Gy for pgsql-hackers@postgresql.org; Tue, 15 Sep 2015 13:25:36 +0000 Received: from mail-qg0-f50.google.com ([209.85.192.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZbqEk-0003h2-Oc for pgsql-hackers@postgresql.org; Tue, 15 Sep 2015 13:25:35 +0000 Received: by qgt47 with SMTP id 47so141998517qgt.2 for ; Tue, 15 Sep 2015 06:25:30 -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=qG22c8L3SW+fR/opJb0QoYwmkSFVE6MWpKVV5FLEQ/E=; b=hEtwHZPWNcOrlTuhrIAPTeUBwwrYJSG+rAIYtQe+8RW7csdPnJoyc4z7qNKE4JsZzA IA3SJPIaITgA5AAzZlvUE8tMOuG1+sKHlW8wcauFDVjj8gLqyUe16PVJT+YRkYOLw9Yr Jbmk7LKVbZMsGsKIzOhOiGrm+bHfKhzYhBMpMLWwtoRlJBhXxXWaY3E1dYeF1Dh4Kysl NZOQlnzotDiQ7izpycyFnshfIIKrKqkwYTQ+veZHYsQogY2lOm+UVwpMjQ9o9HoYWGQ2 YoCF0sgEh+tAiT3fMpQ5MIeQDVtsqmW9slKBAnVf0MJO5Pljk3Io3laMmcJN81eAzqgV Ye9g== X-Gm-Message-State: ALoCoQlPL6ubzVo0R8eOnLPXnGvw1TGOBXfHlYl6KeSr7OTZUhPg5jFOOjkCfCyVayms5DSNpgkE X-Received: by 10.140.93.139 with SMTP id d11mr31922989qge.83.1442323529825; Tue, 15 Sep 2015 06:25:29 -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 i199sm7895290qhc.44.2015.09.15.06.25.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 06:25:29 -0700 (PDT) Message-ID: <55F81C48.4020009@wi3ck.info> Date: Tue, 15 Sep 2015 09:25:28 -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 , Kevin Grittner CC: 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> In-Reply-To: <10758.1442239007@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/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. 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