Try connection with specified db when postgres does not work
Merge pull request #5110 from owncloud/pg_install_db

postgresql connect with specify db if 'postgres' does not work