Make host optional for Postgres connections.