OSDN Git Service

Fix for union-on-inheritance case
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 4 Dec 2018 04:19:57 +0000 (13:19 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Wed, 5 Dec 2018 08:32:15 +0000 (17:32 +0900)
commit3851f4221bc7c3a6f762efd4b40042b179ed614e
tree680f18dca4de7fa4811c842bbb5ccef5e33be83b
parent6b05ac62a9b11afedc71db0e533ba0f2252ee238
Fix for union-on-inheritance case

setup_hint_enforcement may pick up a wrong hint when multiple
subqueries access inheritance tables. This leads to failure to apply
hints on other than the first subquery.
expected/pg_hint_plan.out
pg_hint_plan.c
sql/pg_hint_plan.sql