Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvtl6-0005VL-Bk for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2017 22:50:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cvtl5-00041h-UK for pgsql-hackers@arkaria.postgresql.org; Wed, 05 Apr 2017 22:50:35 +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_2) (envelope-from ) id 1cvtja-0000Df-Dc for pgsql-hackers@postgreSQL.org; Wed, 05 Apr 2017 22:49:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cvtjX-0006zl-T2 for pgsql-hackers@postgreSQL.org; Wed, 05 Apr 2017 22:49:01 +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 v35MmvtR004189; Wed, 5 Apr 2017 18:48:57 -0400 From: Tom Lane To: Simon Riggs cc: pgsql-hackers@postgreSQL.org Subject: Re: [COMMITTERS] pgsql: Collect and use multi-column dependency stats In-reply-to: References: Comments: In-reply-to Simon Riggs message dated "Wed, 05 Apr 2017 22:06:02 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4187.1491432537.1@sss.pgh.pa.us> Date: Wed, 05 Apr 2017 18:48:57 -0400 Message-ID: <4188.1491432537@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 Simon Riggs writes: > Collect and use multi-column dependency stats The buildfarm is unhappy about the fact that this changed the API for clauselist_selectivity(). I am not convinced that that change was a good idea, so before telling FDW authors that they need to change their code, I'd like to hear a defense of the API change. Why not just use the existing varRelid parameter for that? Why is there an assumption that only one rel's extended stats will ever be of interest? This function does get used for join clauses. 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