Use the type object for quoting PG Ranges
Merge pull request #16035 from sgrif/sg-range-types

Use the type object for quoting PG Ranges