optimize connect database in dbc postgresql

now use libpq default value if some parameter not given, and you can
give a conninfo string in dbname parameter (like psql)