Ensure PostgreSQL and PostGIS are reinstalled