#261 debug prelocking for index scans
update to 7.1.7
#261 auto detect index scans to fix perf problem with partitions