Skip to content

asyncpg.create_pool fails with dsn with @ in password #436

Closed
@kiddten

Description

@kiddten
  • asyncpg version: 0.18.3
  • PostgreSQL version: 11.2
  • Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
    the issue with a local PostgreSQL install?
    :
  • Python version: 3.7.2
  • Platform: ubuntu
  • Do you use pgbouncer?:
  • Did you install asyncpg with pip?: yes
  • If you built asyncpg locally, which version of Cython did you use?:
  • Can the issue be reproduced under both asyncio and
    uvloop?
    :

It leads to different errors socket.gaierror such as [Errno -2] Name or service not known or [Errno -3] Temporary failure in name resolution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions