diff --git a/pg_view.py b/pg_view.py index e17087e..441dc16 100644 --- a/pg_view.py +++ b/pg_view.py @@ -2938,7 +2938,7 @@ def build_connection(host, port, user, database): if user: result['user'] = user if database: - result['dbname'] = database + result['database'] = database return result