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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: postgres_fdw: Fix test that didn't test what it claimed.
Дата
Msg-id E1eKqO5-0001jC-Uo@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Re-allow INSERT .. ON CONFLICT DO NOTHING on partitionedtables.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Minor code beautification in partition_bounds_equal.