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:31:53 +0000 (17:31 +0900)
commit0eda42ba5ec6e360acab1458ca72345b8c8923a8
tree67a7355361d32d9afe45f959fdd9a2932745c157
parentc9864a4b043d9a127167ab2393758e45a744ba88
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