OSDN Git Service

Fix to remove plpgsql query string on non-local exit.
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 16 Dec 2014 05:45:13 +0000 (14:45 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Wed, 17 Dec 2014 01:47:23 +0000 (10:47 +0900)
commit439b0a98dbe1674a39da1d56d305a3db3898c1c7
tree7192b08bc7c3b2f5c8cf993851f42b42285ecac1
parent45ca0332695be1c386374dd2782f65c86dbc943c
Fix to remove plpgsql query string on non-local exit.

Pl/pgsql query string stored internally squatted after an execution
error then pg_hint_plan afterward read it for hints and ignores really
given ones. This commit makes it erased at the end of transaction.
pg_hint_plan.c