summaryrefslogtreecommitdiff
path: root/lib/extensions.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-04-11 01:05:31 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-04-11 01:05:31 +0100
commit595dc7effa35eb4887fb26a91b15488002e9969f (patch)
treec746804b5dd7e6b352db846e41c698a81041ac2e /lib/extensions.py
parent88fe5f91d2834a50ab98afbff653a424ea132c8e (diff)
downloadpsycopg2-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