OSDN Git Service

Don't apply parallel hint on rels that planner considers unsafe.
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 16 Feb 2017 10:08:54 +0000 (19:08 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 16 Feb 2017 10:08:54 +0000 (19:08 +0900)
commite701eee8123682aae4fec5dc9639b50a54eb0b35
tree7c9c03943ec3a6da49d65253a5819c1a1a517172
parentc43304db0df8b36ebf1ad205697789d1ff6c36ff
Don't apply parallel hint on rels that planner considers unsafe.

pg_hint_plan considered had its own decision logic on whether
parallel-safe or not but it is dangerous and unnecessary. Just follow
planner's decision.
expected/ut-W.out
pg_hint_plan.c
sql/ut-W.sql