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:27 +0000 (17:31 +0900)
commitc2e8bc015ab83d798143f505ba0157ffccdcbd94
tree8d86fbe108a414398504eb2b48816acb8f1b9f01
parentb6ebe309a92328110bc66786476b29879ee1272f
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