chtd / psycopg2cffi

Port to cffi with some speed improvements
Other
177 stars 43 forks source link

allow named cursors outside of transactions if the cursor is withheld #81

Closed danchr closed 6 years ago

danchr commented 7 years ago

This mirrors the equivalent check in psyco_curs_execute() in regular psycopg2, and fixes an error I saw in Django admin views. I saw the error when using psycopg2cffi with PyPy as well as CPython.

thedrow commented 7 years ago

@lopuhin Can we merge this please?

lopuhin commented 7 years ago

Yes, I'll be sure to test and merge it today, and make a new release. Sorry for taking a long time.

danchr commented 6 years ago

Perhaps this one fell through the cracks?

lopuhin commented 6 years ago

Thanks a lot @danchr , and sorry for taking so long to merge this