From a5c0a2215e790ea94e1f52ac8ac472e0a160e45c Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sun, 17 Mar 2019 03:46:28 +0000 Subject: Dropped whole "critical" story It doesn't seem "critical" errors are used anymore. pq_set_critical() wasn't called anywhere. --- psycopg/connection.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'psycopg/connection.h') 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; -- cgit v1.2.1