I am using cursor.copy_expert and I would like to be able to use cursor.rowcount but most of the systems I am targeting have older psycopg2 versions on them.
According to the following URL rowcount was updated for use with copy_expert in 2.5.3...
I can "read" the psycopg2 source but I am not fluent. I am having trouble working out what 'pgres' is. Is it the fileno() the backend_process_id() etc...
So far all I have manged to do is segfault my python processes. Woot!
Is 'pgres' exposed by the Cursor or Connection classes somewhere?