Closed crazyfortechsid closed 7 years ago
Hey, no idea what you're asking here. Please try to clarify what you're seeing and we can try to help.
If you're overriding a type parser you'll want to put that in your application initialization code. Usually before you create any pooled clients. Does that help?
var types = require('pg').types types.setTypeParser(20, function(val) {
return parseInt(val) })