Bugfix: Get database name from postgres connection string keywords
The connection string can be provided for libpq either as the plain dbname (old style) or as a list of keywords (new style). In the latter case, the full keyword string was returned instead of the dbname.