Fix the table format to be more psql compliant.