Skip to content

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

Closed

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?

Activity

  1. added a commit that references this issue on Nov 26, 2020
    659904a
  2. elprans commented on Nov 26, 2020

    @elprans
    Member

    It's missing due to an oversight and nobody complained before :-) Fixed in #661.

  3. added a commit that references this issue on Nov 29, 2020
    f4bf807
  4. added a commit that references this issue on Aug 10, 2021
    a6b0f28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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