OSDN Git Service

Reconsider hinting process
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 16 Feb 2017 08:41:30 +0000 (17:41 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 16 Feb 2017 08:45:42 +0000 (17:45 +0900)
commitc43304db0df8b36ebf1ad205697789d1ff6c36ff
treebbc490dd7fe420cab8c46c08c4f11936e91d3a78
parentc1bff87682b776ef430a1fa86943d4728111e886
Reconsider hinting process

I rethinked the steps of enforcement considering the parallel planning
code. pg_hint_plan_set_rel_pathlist() gets simpler and easier to read
(maybe).

As the result of this patch, some behaviors has been changed.

- False generation of gahter path caused by hinting on the other side
  of joins.

- Scan hints work with Parallel hints. (It's useless for the moment,
  though).
Makefile
doc/pg_hint_plan-ja.html
doc/pg_hint_plan.html
expected/ut-W.out
pg_hint_plan.c
sql/ut-W.sql