Fix some postgres field precision and length inconsistencies