PostgreSQL: Allow specifying the database name, username and password