psycopg2/psycopg
Jan Urbański c4ebc0f702 Handle errors in asynchronous queries.
Do it by keeping the reference to the last PGresult in the cursor and
calling pq_fetch() before ending the asynchronous execution. This
takes care of handling the possible error state of the PGresult and
also allows the removal of the needsfetch flag, since now after
execution ends the results are already fetched and parsed.
2010-04-20 23:01:01 +01:00
..
adapter_asis.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_asis.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_binary.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_binary.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_datetime.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_datetime.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_list.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_list.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_mxdatetime.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_mxdatetime.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_pboolean.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_pboolean.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_pdecimal.c Fixed Python 2.4 segfault related to decimal implementation 2010-02-28 20:52:03 +01:00
adapter_pdecimal.h Fixed problem with decimal.Decimal conversions 2010-02-21 01:04:00 +01:00
adapter_pfloat.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_pfloat.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_qstring.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
adapter_qstring.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
config.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
connection_int.c Set the initial connection status to CONN_STATUS_SETUP. 2010-04-14 09:56:44 +02:00
connection_type.c Make connection.executing() be True during an async connection attempt. 2010-04-14 10:00:37 +02:00
connection.h Set the execution status to ASYNC_READ after flushing all output. 2010-04-14 09:56:44 +02:00
cursor_int.c Handle errors in asynchronous queries. 2010-04-20 23:01:01 +01:00
cursor_type.c Handle errors in asynchronous queries. 2010-04-20 23:01:01 +01:00
cursor.h Handle errors in asynchronous queries. 2010-04-20 23:01:01 +01:00
lobject_int.c Dropped warnings when compiling on Python 2.5 2010-04-07 18:12:24 +01:00
lobject_type.c Support large objects truncating. 2010-03-29 09:19:35 +02:00
lobject.h Support large objects truncating. 2010-03-29 09:19:35 +02:00
microprotocols_proto.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
microprotocols_proto.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
microprotocols.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
microprotocols.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
pgtypes.h Added aync.txt to distribution. 2005-11-29 12:01:46 +00:00
pgversion.h Initial psycopg 2 import after SVN crash. 2004-10-19 03:17:12 +00:00
pqpath.c Check for possible errors from PQflush. 2010-04-14 09:56:44 +02:00
pqpath.h Added pq_set_non_blocking utility function. 2010-04-07 23:41:18 +01:00
psycopg.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
psycopgmodule.c Pass the async parameter to the connection only if nonzero. 2010-04-05 18:31:09 +01:00
python.h Fixed Python 2.4 compatibility breakage 2010-04-09 12:53:38 +02:00
typecast_array.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
typecast_basic.c Fixed problem with decimal.Decimal conversions 2010-02-21 01:04:00 +01:00
typecast_basic.c.old Initial psycopg 2 import after SVN crash. 2004-10-19 03:17:12 +00:00
typecast_binary.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
typecast_binary.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
typecast_builtins.c * psycopg/typecast.c (typecast_pydatetime): make array static. 2008-01-21 21:41:17 +00:00
typecast_datetime.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
typecast_mxdatetime.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
typecast.c Applied GC patch from Michael Tharp 2010-04-14 08:50:16 +02:00
typecast.h Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
utils.c Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00