Thread: pgsql: Fix test case for 'outer pathkeys do not match mergeclauses'fix

pgsql: Fix test case for 'outer pathkeys do not match mergeclauses'fix

From
Robert Haas
Date:
Fix test case for 'outer pathkeys do not match mergeclauses' fix.

Commit 4bbf6edfbd5d03743ff82dda2f00c738fb3208f5 added a test case,
but it turns out that the test case doesn't reliably test for the
bug, and in the context of the regression test suite did not because
ANALYZE had not been run.

Report and patch by Etsuro Fujita.  I added a comment along lines
previously suggested by Tom Lane.

Discussion: http://postgr.es/m/5A6195D8.8060206@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/99f6a17dd62aa5ed92df7e5c03077ddfc85381c8

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 77 +++++++++++++-------------
contrib/postgres_fdw/sql/postgres_fdw.sql      | 13 +++--
2 files changed, 48 insertions(+), 42 deletions(-)