You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a problem when connecting a pool with dsn transfer.
if the @ symbol is present in the password, then an error appears: [Errno -2] Name or service not known
if replaced by %40 then an access error password authentication failed for user "user_db"
When a connection string component contains characters that have a
special meaning in the URI (e.g. '@' or '='), percent-encoding must be
used. asyncpg must take care to unquote the parsed components
correctly, and it doesn't currently.
Additionally, this makes asyncpg follow the libpq's behavior of parsing
the authentication part of netloc, i.e. split on the first '@' and not
the last.
Fixes: #418Fixes: #471
the issue with a local PostgreSQL install?:
uvloop?:
There was a similar question #467
I found a problem when connecting a pool with dsn transfer.
if the
@
symbol is present in the password, then an error appears:[Errno -2] Name or service not known
if replaced by
%40
then an access errorpassword authentication failed for user "user_db"
Will give an example better:
The text was updated successfully, but these errors were encountered: