We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55569f3 commit 0db6fecCopy full SHA for 0db6fec
pgactivity/pg.py
@@ -49,7 +49,7 @@ def connect(dsn: str = "", **kwargs: Any) -> Connection:
49
# This is (more or less) what's done by psql.
50
conninfo = conninfo_to_dict(dsn)
51
conninfo.setdefault("client_encoding", "auto")
52
- dsn = make_conninfo(**conninfo)
+ dsn = make_conninfo("", **conninfo)
53
conn = psycopg.connect(dsn, autocommit=True, row_factory=dict_row, **kwargs)
54
if conn.info.encoding == "ascii":
55
# If client encoding is still 'ascii', fall back to a loader with a replace
0 commit comments