diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2019-03-17 03:46:28 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2019-03-17 03:49:34 +0000 |
commit | a5c0a2215e790ea94e1f52ac8ac472e0a160e45c (patch) | |
tree | 32c0421deb1d6650261b83f2edb69ae90b5b6baf /psycopg/connection.h | |
parent | 17a074b30ac860647b3e42eada77d6848079d2be (diff) | |
download | psycopg2-a5c0a2215e790ea94e1f52ac8ac472e0a160e45c.tar.gz |
Dropped whole "critical" story
It doesn't seem "critical" errors are used anymore. pq_set_critical()
wasn't called anywhere.
Diffstat (limited to 'psycopg/connection.h')
-rw-r--r-- | psycopg/connection.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/psycopg/connection.h b/psycopg/connection.h index 7ee226c..bab8bf8 100644 --- a/psycopg/connection.h +++ b/psycopg/connection.h @@ -87,7 +87,7 @@ struct connectionObject { pthread_mutex_t lock; /* the global connection lock */ char *dsn; /* data source name */ - char *critical; /* critical error on this connection */ + char *error; /* temporarily stored error before raising */ char *encoding; /* current backend encoding */ long int closed; /* 1 means connection has been closed; @@ -109,7 +109,6 @@ struct connectionObject { PyObject *async_cursor; int async_status; /* asynchronous execution status */ PGresult *pgres; /* temporary result across async calls */ - char *error; /* temporarily stored error before raising */ /* notice processing */ PyObject *notice_list; |