Fixed column precision and scale issues with postgres