Playing around with PostgreSQL intranges.
Eclipse compile fix.
Eclipse compile fix.
Merge branch 'beta' into range-queries
Partially complete implementation of range queries with postgres ranges.
Fix IqlQuery to string error - OVERLAP operation wasn't being added to IQL string which broke the results cache (changing the op from OVERLAPS to DOES NOT OVERLAP hit the previous (wrong) results from the cache..
Working configuration and queries for using Postgres built in ranges.
Methods to get database version number and test if database is specified version or later.
Add checks for Postgres version numbers when adding range column and index.
Javadoc.
Added javadoc.
Fix parent reference of overlap constraint (never caused a problem as we can't create location/location overlap constraints).
Working range queries, passing tests.
Simplify range queries to create int4range index on location instead of adding a column.
Use postgres range type for overlapping features index if available, otherwise bioseg or exception.
Remove commented code.
Fix bioseg function name.
Make range query tests work with any version of Postgres, with or without bioseg.
bioseg index is faster if locatedonidid removed.
Comment out parsing of bioseg and int4range constraints. The parser was only part implemented so constraints were recognised then dropped from the query, possibly creating bad matches to precomputed tables.