diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-04-11 01:05:31 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-04-11 01:05:31 +0100 |
commit | 595dc7effa35eb4887fb26a91b15488002e9969f (patch) | |
tree | c746804b5dd7e6b352db846e41c698a81041ac2e /lib/extensions.py | |
parent | 88fe5f91d2834a50ab98afbff653a424ea132c8e (diff) | |
download | psycopg2-595dc7effa35eb4887fb26a91b15488002e9969f.tar.gz |
Added a test to check poll() correctly calls PQflush.
When a large query is sent to the backend (and probably in high
concurrency situations), writing the query could block. In
this case PQflush() should be called until it returns 0. The test checks
this is done correctly.
Diffstat (limited to 'lib/extensions.py')
0 files changed, 0 insertions, 0 deletions