Closed yuzupy closed 5 years ago
Thanks. I see that root->pcinfo_list is now correctly set, however I still hit an assert running the regression tests in add_paths_to_append_rel(), at least for multi level partitioning:
(gdb) p root->pcinfo_list
$1 = (List *) 0x55764c6230a8
(gdb) p partitioned_rels
$2 = (List *) 0x0
(gdb) p debug_query_string
$3 = 0x55764c4d5e20 "EXPLAIN (COSTS OFF) SELECT * FROM hypo_part_multi;"
Oh, I'm sorry. I made root->pcinfo_list in the same way as core. However, in the current hypopg, add_paths_to_append_rel() is called for non-root tables although this function is called for only root table. As a result, we hit an assert. I'll try to fix that.
Perfect, thanks a lot!
I fixed the way of making root->pcinfo for pg10.