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:52:05 +0000 (10:52 +0900)
commitb752a9574cfe8b6d21ac2f7a4958e5e9eab71f3e
treebacbc032a2ec6d6f5f74ec9c68f529c037a04010
parentbd305989c398b9dec50177638ec7e825b90496f3
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