From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Separate block sampling functions
Date: Thu, 14 May 2015 23:59:20 -0400
Message-ID: <3760.1431662360@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqTi=5QUp6vmMz5132-OSQL8T4KQm91BirGHCtFr2ooipQ@mail.gmail.com>
References: <E1Yt4yc-00024U-4W@gemulon.postgresql.org>
<1555.1431658233@sss.pgh.pa.us>
<CANP8+jJujA-bTk5sA3K3g=JU7rGCDsurePTYJa8hR3feMWrASA@mail.gmail.com>
<CAB7nPqRzk_H9mGGFK0V2y=gLYkzsusd_-2xo8dj8_sNWZaxxFA@mail.gmail.com>
<2561.1431660145@sss.pgh.pa.us>
<CAB7nPqTi=5QUp6vmMz5132-OSQL8T4KQm91BirGHCtFr2ooipQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Michael Paquier <michael.paquier@gmail.com> writes:
> On Fri, May 15, 2015 at 12:22 PM, Tom Lane <tgl@sss.pgh.pa.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, simon@2ndquadrant.com
Subject: Re: pgsql: Separate block sampling functions
In-Reply-To: <3760.1431662360@sss.pgh.pa.us>
References: <E1Yt4yc-00024U-4W@gemulon.postgresql.org> <1555.1431658233@sss.pgh.pa.us> <CANP8+jJujA-bTk5sA3K3g=JU7rGCDsurePTYJa8hR3feMWrASA@mail.gmail.com> <CAB7nPqRzk_H9mGGFK0V2y=gLYkzsusd_-2xo8dj8_sNWZaxxFA@mail.gmail.com> <2561.1431660145@sss.pgh.pa.us> <CAB7nPqTi=5QUp6vmMz5132-OSQL8T4KQm91BirGHCtFr2ooipQ@mail.gmail.com> <3760.1431662360@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox