Re: postgres_fdw bug in 9.6

Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>

From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Michael Paquier <michael.paquier@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>, David Steele <david@pgmasters.net>, Jeff Janes <jeff.janes@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-08-18T02:44:18Z
Lists: pgsql-hackers
On 2017/08/18 8:16, Michael Paquier wrote:
> On Fri, Aug 18, 2017 at 3:59 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Robert Haas <robertmhaas@gmail.com> writes:
>>> On Thu, Aug 17, 2017 at 8:00 AM, Etsuro Fujita
>>> <fujita.etsuro@lab.ntt.co.jp> wrote:
>>>> I rebased the patch to HEAD.  PFA a new version of the patch.
>>
>>> Tom, you were instrumental in identifying what was going wrong here
>>> initially.  Any chance you'd be willing to have a look at the patch?
>>
>> I will, but probably not for a week or so.  Going eclipse-chasing.
> 
> Good luck:
> https://xkcd.com/1876/
> And enjoy:
> https://xkcd.com/1877/

Enjoy!

Best regards,
Etsuro Fujita



Commits

  1. Fix test case for 'outer pathkeys do not match mergeclauses' fix.

  2. postgres_fdw: Avoid 'outer pathkeys do not match mergeclauses' error.

  3. postgres_fdw: Consider foreign joining and foreign sorting together.

  4. Allow foreign and custom joins to handle EvalPlanQual rechecks.

  5. Allow FDWs to push down quals without breaking EvalPlanQual rechecks.