Skip to content

Alternatives to "psycopg2.extras.execute_values" and "psycopg2.extras.execute_batch" #114

@ivan-aksamentov

Description

@ivan-aksamentov

I am trying to adapt this gist
https://gist.github.com/hakib/7e723d2c113b947f7920bf55737e4d16
which uses psycopg2 to psycopg v3.

It seems that the extras package is no longer present in v3.
Are there alternatives for these functions

psycopg2.extras.execute_values()
psycopg2.extras.execute_batch()

?

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