OSDN Git Service

Fixed a crash bug by DECLARE CURSOR and enable_hint_table = on
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 27 Jul 2017 03:26:55 +0000 (12:26 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Thu, 27 Jul 2017 10:19:10 +0000 (19:19 +0900)
commit6f424c5ad98ef6575df0e07098d0107b15ec64d9
treed8abf49c653a416643b023bca8a3620253cea0cc
parent1407e83006c68de21748d64b0b55579a82a9679c
Fixed a crash bug by DECLARE CURSOR and enable_hint_table = on

The previous version causes assertion failure by DECLARE CURSOR syntax
when table hint is activated. The cause is that the version forgot the
fact that DelcareCursorStmt is in a bit strange shape. Add support of
DECLARE CURSOR and regression test for table hinting.
Makefile
expected/ut-T.out [new file with mode: 0644]
pg_hint_plan.c
sql/ut-T.sql [new file with mode: 0644]