Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Non psycopg2 exception can lock connection #79
For example I have code like this and only one connection in pool:
This code rises TypeError, but second query can't obtain connection.
Changing psycopg2.Error to Exception in _catch_early_errors decorator fixes that issue, but I not sure that it right.