pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: postgres_fdw: Fix test that didn't test what it claimed.
Date: Fri, 01 Dec 2017 18:50:13 +0000
Message-ID: <E1eKqO5-0001jC-Uo@gemulon.postgresql.org> (raw)

postgres_fdw: Fix test that didn't test what it claimed.

Antonin Houska reported that the planner does consider pushing
postgres_fdw_abs() to the remote side, which happens because we make
it shippable earlier in the test case file.

Jeevan Chalke provided this patch, which changes the join
condition to use random(), which is not shippable, instead.
Antonin reviewed the patch.

Discussion: http://postgr.es/m/15265.1511985971@localhost

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/950222780535e6d2ea560cd8b3db5308652ddd42

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 24 +++++++++++++-----------
contrib/postgres_fdw/sql/postgres_fdw.sql      |  2 +-
2 files changed, 14 insertions(+), 12 deletions(-)



Message-ID: <E1eKqO5-0001jC-Uo@gemulon.postgresql.org>
Permalink:  ../E1eKqO5-0001jC-Uo@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eKqO5-0001jC-Uo@gemulon.postgresql.org

 · 

reply

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: rhaas@postgresql.org
  Subject: Re: pgsql: postgres_fdw: Fix test that didn't test what it claimed.
  In-Reply-To: <E1eKqO5-0001jC-Uo@gemulon.postgresql.org>
  References: <E1eKqO5-0001jC-Uo@gemulon.postgresql.org>

* 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