Skip to content

'Pool' object has no attribute 'copy_to_table' #641

Closed
@papapon

Description

@papapon
  • asyncpg version: 0.20.1
  • PostgreSQL version: 11.9
  • Python version: 3.7
  • Platform: Debian 9.12 / Docker / 'bitnami/postgresql'
  • Do you use pgbouncer?: No
  • Did you install asyncpg with pip?: yes
  • Can the issue be reproduced under both asyncio and
    uvloop?
    : at least asyncio

When I connect with await asyncpg.create_pool(), if I use copy_to_table, I obtain AttributeError("'Pool' object has no attribute 'copy_to_table'").
If I connect with await asyncpg.connect(), it works perfectly.
Is it normal?

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