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>
Tue, 21 Feb 2017 00:11:45 +0000 (09:11 +0900)
commit0073a061f7632e270cebefd5c92b58954b4aea8a
treebbc490dd7fe420cab8c46c08c4f11936e91d3a78
parent7c0ace5c7b9cd56ed4f61084259708fc925f26b2
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