It's better to move it to a outer object, and use `ThreadLocal` to hold it.

BTW, maybe you can rename object `Range`  to `PgRangeSupportUtils`, move it from file `Range.scala` to file `PgRangeSupport.scala`, and use it to hold the formatters.