Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yt6md-00006H-43 for pgsql-committers@arkaria.postgresql.org; Fri, 15 May 2015 03:59:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yt6mb-0001Jq-PS for pgsql-committers@arkaria.postgresql.org; Fri, 15 May 2015 03:59:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yt6ma-0001Jj-RX for pgsql-committers@postgresql.org; Fri, 15 May 2015 03:59:32 +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) (envelope-from ) id 1Yt6mU-00071T-52 for pgsql-committers@postgresql.org; Fri, 15 May 2015 03:59:31 +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 t4F3xK8C003761; Thu, 14 May 2015 23:59:20 -0400 From: Tom Lane To: Michael Paquier cc: Simon Riggs , pgsql-committers@postgresql.org Subject: Re: pgsql: Separate block sampling functions In-reply-to: References: <1555.1431658233@sss.pgh.pa.us> <2561.1431660145@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Fri, 15 May 2015 12:49:43 +0900" Date: Thu, 14 May 2015 23:59:20 -0400 Message-ID: <3760.1431662360@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-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Michael Paquier writes: > On Fri, May 15, 2015 at 12:22 PM, Tom Lane wrote: >> TBH, I think that this patch itself was a bad idea and should be reverted. >> I don't object to changing APIs used by external modules when there's a >> good reason to break them, but having looked at this patch all I see is >> change for the sake of change. What new functionality have you introduced? > If you look at the TABLESAMPLE patch, separating the block sampling > into a separate facility makes quite some sense. Sure, but there was no need to break FDWs that were using an API that was perfectly reasonable for ANALYZE support. Had you not made random changes to the argument lists, we could have solved this with some compatibility macros... >> Or to put it more baldly: it's likely that you've broken quite a large >> number of third-party FDWs, not just this one. A lot of people have >> probably copied-and-pasted what was in the contrib FDWs. > make_foreignscan() has been changed as well by 1a8a4e5c.. The difference there was that that was specifically adding a new feature of value to FDWs. This is just drive-by breakage. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers