• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revisiondba21134902732c94281f58fe8aa31ebd6513829 (tree)
Time2019-08-29 17:33:54
AuthorJignesh Shah <jkshah@amaz...>
CommiterKyotaro Horiguchi

Log Message

Fix definition of is_dummy_rel based on changes to community PostgreSQL 11.3

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.

Change Summary

Incremental Difference

--- a/core.c
+++ b/core.c
@@ -35,7 +35,6 @@
3535 * make_rels_by_clauseless_joins()
3636 * join_is_legal()
3737 * has_join_restriction()
38- * is_dummy_rel()
3938 * restriction_is_constant_false()
4039 *
4140 *
@@ -942,15 +941,6 @@ has_join_restriction(PlannerInfo *root, RelOptInfo *rel)
942941
943942
944943 /*
945- * is_dummy_rel --- has relation been proven empty?
946- */
947-static bool
948-is_dummy_rel(RelOptInfo *rel)
949-{
950- return IS_DUMMY_REL(rel);
951-}
952-
953-/*
954944 * Mark a relation as proven empty.
955945 *
956946 * During GEQO planning, this can get invoked more than once on the same
Show on old repository browser