Query from postgresql is eating my server\'s entire resource not allowing any other queries to process.
WITH ranges AS( SELECT pg_range.rngtypid, pg_type.typname