Open osman-masood opened 7 years ago
Hello @osman-masood !
There are no plans specifically for psycopg2.extras.execute_batch. But looking at the psycopg2 implementation here https://github.com/psycopg/psycopg2/blob/3b48918bef71162c05da9c16962ef79cab2df31a/lib/extras.py#L1165, it looks like this is just a pure-python function that can be ported as is. The tests are in https://github.com/psycopg/psycopg2/blob/28c489f17e8db69a19c0f3b6b4e57dc76b8bbfbc/tests/test_fast_executemany.py - so it you make a PR with this function ported + tests, I'll be glad to merge it! Or I'll get to it once I have some time, but no ETA, sorry.
Hello,
Is there any plan to add support for psycopg2.extras.execute_batch?
Thanks!