chtd / psycopg2cffi

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

Raise an exception in pq_clear_async when status is fatal. #62

Closed gobbledygook88 closed 8 years ago

gobbledygook88 commented 8 years ago

This fixes an issue when copy_from and copy_to appears to be successful but an error actually occurred in the backend. Test case has been added relating to invalid foreign keys.

lopuhin commented 8 years ago

Thanks you!