Re: [sqlalchemy] Idle in transaction connections can not be returned to pool

2017-04-19 Thread mike bayer
On 04/18/2017 10:19 PM, JinRong Cai wrote: Hi: SQLA is used in my python project. And in my code, I have the green thread used. And the green thread was killed in some of my code. After the the thread was killed, and the transaction was just began. And the database connection was still in pos

[sqlalchemy] Idle in transaction connections can not be returned to pool

2017-04-18 Thread JinRong Cai
Hi: SQLA is used in my python project. And in my code, I have the green thread used. And the green thread was killed in some of my code. After the the thread was killed, and the transaction was just began. And the database connection was still in postgresql server side with status "idle in tr