summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--psycopg/connection_int.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/psycopg/connection_int.c b/psycopg/connection_int.c
index 00e8fa4..b952788 100644
--- a/psycopg/connection_int.c
+++ b/psycopg/connection_int.c
@@ -727,6 +727,7 @@ conn_poll(connectionObject *self)
case CONN_STATUS_READY:
case CONN_STATUS_BEGIN:
+ case CONN_STATUS_PREPARED:
res = _conn_poll_query(self);
if (res == PSYCO_POLL_OK && self->async_cursor) {