I modified hypo_get_qual_for_range() so that hypothetical default partitions can get its partition constraints from hypoTable struct, not catalogs. Also, I modified a way of size estimate for hypothetical partitions because the previous way cannot estimate hypothetical default partitions correctly. A new way is using hypoTable->tuples which is got by hypopg_analyze(). But if hypoTable->tuples has not set yet, size estimates will be done in the same way as before.
I modified hypo_get_qual_for_range() so that hypothetical default partitions can get its partition constraints from hypoTable struct, not catalogs. Also, I modified a way of size estimate for hypothetical partitions because the previous way cannot estimate hypothetical default partitions correctly. A new way is using hypoTable->tuples which is got by hypopg_analyze(). But if hypoTable->tuples has not set yet, size estimates will be done in the same way as before.