Use 'host' instead of 'hostname' for PostgreSQL database settings.