pg_hint_plan
pg_hint_plan copied to clipboard
Fix #105 Consider indexes other than btree in restrict_indexes().
Fix #105 Consider indexes other than btree in restrict_indexes.
When SQL was executed with IndexScan hints for non-btree indexes (such as the gin index) agains a partitioned table, PostgreSQL crashed. This is because indexes other than btree do not support order by operation and variables related to this were NULL.