diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-10-06 11:58:52 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2012-10-06 11:58:52 +0100 |
| commit | b61a2a34c40e9b6e8774178e553a2e81eb889f06 (patch) | |
| tree | 9c464aa56ccb8b705f8ac293d6a1cc91904c5a64 /psycopg/utils.c | |
| parent | 2611d6228330da0b967944195d3de86e4164f95b (diff) | |
| download | psycopg2-b61a2a34c40e9b6e8774178e553a2e81eb889f06.tar.gz | |
Close the connection on error in callback
Unfortunately PQcancel blocks, so it's not better than PQgetResult.
It has been suggested to use PQreset in non-blocking way but this would give
the Python program the burden of handling a connection done but not configured
in an unexpected place.
Diffstat (limited to 'psycopg/utils.c')
0 files changed, 0 insertions, 0 deletions
