Working configuration and queries for using Postgres built in ranges.