We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dfd4f0 commit 685f4bcCopy full SHA for 685f4bc
CHANGELOG.md
@@ -9,6 +9,7 @@
9
### Fixed
10
11
* At startup, do not show a traceback upon failure to connect to PostgreSQL.
12
+* Fix password prompt not shown with psycopg2 backend.
13
14
### Misc
15
pgactivity/data.py
@@ -537,7 +537,7 @@ def pg_connect(
537
if nb_try < 1 and (
538
isinstance(err, pg.InvalidPassword)
539
or errmsg.startswith("FATAL: password authentication failed for user")
540
- or errmsg == "fe_sendauth: no password supplied"
+ or "fe_sendauth: no password supplied" in errmsg
541
):
542
password = getpass.getpass()
543
elif exit_on_failed:
0 commit comments