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>
Tue, 21 Feb 2017 00:11:45 +0000 (09:11 +0900)
commit7dc46bffefbb3faa8ba71e7044510b6bedf10b81
tree7c9c03943ec3a6da49d65253a5819c1a1a517172
parent0073a061f7632e270cebefd5c92b58954b4aea8a
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