firtst release
Revision | 64fe7671a3f6ffc65dd1d8f03f60e627ba17bca0 (tree) |
---|---|
Time | 2019-08-29 17:23:26 |
Author | Jignesh Shah <jkshah@amaz...> |
Commiter | Kyotaro Horiguchi |
Fix is_dummy_rel based on changes in PostgreSQL 10.8
This breaks compatibility with older minor versions, but don't bother
keeping it. Binary built using newer PG minor versions works for older
minor versions.
@@ -40,7 +40,6 @@ | ||
40 | 40 | * make_rels_by_clauseless_joins() |
41 | 41 | * join_is_legal() |
42 | 42 | * has_join_restriction() |
43 | - * is_dummy_rel() | |
44 | 43 | * mark_dummy_rel() |
45 | 44 | * restriction_is_constant_false() |
46 | 45 | * |
@@ -1396,16 +1395,6 @@ has_join_restriction(PlannerInfo *root, RelOptInfo *rel) | ||
1396 | 1395 | |
1397 | 1396 | |
1398 | 1397 | /* |
1399 | - * is_dummy_rel --- has relation been proven empty? | |
1400 | - */ | |
1401 | -static bool | |
1402 | -is_dummy_rel(RelOptInfo *rel) | |
1403 | -{ | |
1404 | - return IS_DUMMY_REL(rel); | |
1405 | -} | |
1406 | - | |
1407 | - | |
1408 | -/* | |
1409 | 1398 | * Mark a relation as proven empty. |
1410 | 1399 | * |
1411 | 1400 | * During GEQO planning, this can get invoked more than once on the same |