Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yt6dF-0008AP-54 for pgsql-committers@arkaria.postgresql.org; Fri, 15 May 2015 03:49:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yt6dE-0000vr-M8 for pgsql-committers@arkaria.postgresql.org; Fri, 15 May 2015 03:49:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yt6dC-0000ve-Ip for pgsql-committers@postgresql.org; Fri, 15 May 2015 03:49:50 +0000 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Yt6d7-0006hE-Oj for pgsql-committers@postgresql.org; Fri, 15 May 2015 03:49:48 +0000 Received: by qcbgy10 with SMTP id gy10so50831706qcb.3 for ; Thu, 14 May 2015 20:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wCn1IGzzf6637XE3skOOTJ26m7zz5ftevJp3xHu3iTU=; b=JVI/jDGqwL6zpYHtFDPaEaVSypdnA20y58ohgpHLTqEQ2XMPGF9H4miCPF7jwp/D/q 04sXVijjV/0zXboKGrYliX6D66PIQJhslW5jaIhIEzicJgH68Mrn6XkWsz2vmtLbLJVw PRCk5V/HUlG8D+QMFuXcDib1Jo586KcYYYM7JW6nVpQNbDF5FNvnsn0dIJ17ceqIkBW3 H+dJvZQMRLLbmXvoGUR4YiWJX1kcnLnMnqkt/kc31GhQSqmirUUPc5/Zy1Nlv5DM4vfk eZaxVe/BQPHNB1qa5yByHtKpab0S8GTePmthJea9zLUUyJyvbZCvWg3Sk3+2kOV+zven wf6A== MIME-Version: 1.0 X-Received: by 10.140.30.166 with SMTP id d35mr9660050qgd.85.1431661783924; Thu, 14 May 2015 20:49:43 -0700 (PDT) Received: by 10.140.109.35 with HTTP; Thu, 14 May 2015 20:49:43 -0700 (PDT) In-Reply-To: <2561.1431660145@sss.pgh.pa.us> References: <1555.1431658233@sss.pgh.pa.us> <2561.1431660145@sss.pgh.pa.us> Date: Fri, 15 May 2015 12:49:43 +0900 Message-ID: Subject: Re: pgsql: Separate block sampling functions From: Michael Paquier To: Tom Lane Cc: Simon Riggs , pgsql-committers@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Pg-Spam-Score: -2.7 (--) 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 On Fri, May 15, 2015 at 12:22 PM, Tom Lane wrote: > Michael Paquier writes: >> On Fri, May 15, 2015 at 12:03 PM, Simon Riggs wrote: >>> On 15 May 2015 at 03:50, Tom Lane wrote: >>>> Simon Riggs writes: >>>>> Separate block sampling functions > >>>> This patch broke buildfarm member crake. > >>> OK, thanks. I missed that amongst the other unrelated failures. Looking now. > >> This needs a patch to file_text_array_fdw which I think is available here: >> https://github.com/adunstan/file_text_array_fdw >> Simon, do you mind if I send a pull request? > > 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. > 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.. -- Michael -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers