postgres_fdw: Fix test that didn't test what it claimed.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +13 −11 |
| contrib/postgres_fdw/sql/postgres_fdw.sql | modified | +1 −1 |
Discussion
- Unclear regression test for postgres_fdw 5 messages · 2017-11-29 → 2017-12-01