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>
Thu, 18 Dec 2014 07:37:12 +0000 (16:37 +0900)
commit5762a54432a7fcf47984c9a452d13e9b43fbae60
tree38a9d89ce5c81225af0cb559a1e3c43aa51b3552
parent1f489193eca11d14e223f4f288990525254d6c24
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