Closed df7cb closed 6 years ago
Fwiw, this fixes differences in the EXPLAIN output that 9.6 introduces. Example:
$ diff -u multicorn_planner_test.out multicorn_planner_test_1.out
--- multicorn_planner_test.out 2016-09-27 09:51:11.000000000 +0200
+++ multicorn_planner_test_1.out 2017-10-22 18:41:48.734500176 +0200
@@ -17,7 +17,7 @@
NOTICE: [('test1', 'character varying'), ('test2', 'character varying')]
QUERY PLAN
----------------------------------------------------------------------
- Foreign Scan on testmulticorn (cost=10.00..400.00 rows=20 width=20)
+ Foreign Scan on testmulticorn (cost=10.00..400.00 rows=20 width=64)
(1 row)
explain select * from testmulticorn m1 inner join testmulticorn m2 on m1.test1 = m2.test1;
@@ -55,7 +55,7 @@
NOTICE: [('test1', 'character varying'), ('test2', 'character varying')]
QUERY PLAN
----------------------------------------------------------------------------------
- Foreign Scan on testmulticorn (cost=10.00..200000000.00 rows=10000000 width=20)
+ Foreign Scan on testmulticorn (cost=10.00..200000000.00 rows=10000000 width=64)
(1 row)
explain select * from testmulticorn m1 inner join testmulticorn m2 on m1.test1 = m2.test1;
Merged.
Close #171