Corrected PostgreSQL setup