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()
?
I am trying to adapt this gist
https://gist.github.com/hakib/7e723d2c113b947f7920bf55737e4d16
which uses psycopg2 to psycopg v3.
It seems that the
extraspackage is no longer present in v3.Are there alternatives for these functions
?