Fix is_select_query() not to allow cursor statements. Close() should not allowed since hold cursor + update may cause data inconsistency.
Fix is_select_query() not to allow cursor statements.
Close() should not allowed since hold cursor + update
may cause data inconsistency.

treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres,treasure-data/prestogres