cheatfate / asyncpg

Asynchronous PostgreSQL driver for Nim language
MIT License
59 stars 6 forks source link

The connection doesn't wait till all the message return when error. #4

Open slangmgh opened 6 years ago

slangmgh commented 6 years ago

When send multiple sql, and some sql failed, we must wait untill pqgetResult(conn.pgconn) return nil, or else, the connection will remain unusable.

treeform commented 6 years ago

Do you have a test case for this?