On Wed, Jan 9, 2019 at 12:44 AM Kohei KaiGai <kaigai(at)heterodb(dot)com> wrote:
> So, is it sufficient if set_rel_pathlist_hook is just relocated in
> front of the generate_gather_paths?
> If we have no use case for the second hook, here is little necessity
> to have the post_rel_pathlist_hook() here.
> (At least, PG-Strom will use the first hook only.)
+1. That seems like the best way to be consistent with the principle
that we need to have all the partial paths before generating any
Gather paths.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company