From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000457 ] Autocommit and Cancel
Date: Tue, 6 Dec 2005 10:14:34 +0000 (GMT)
Message-ID: <20051206101434.3678D1125043@pgfoundry.org> (raw)
Bugs item #1000457, was opened at 2005-11-30 15:36
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000457&group_id=1000125
Category: None
Group: None
Status: Open
>Resolution: Accepted
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Ludek Finstrle (luf)
Summary: Autocommit and Cancel
Initial Comment:
Our application in one thread issued long time SELECT, another thread cancelled this statement. After that first thread tried to issue next SELECT and got error message because current transaction is aborted with error. As I saw in postgresql server logs there was no ROLLBACK statement issued by driver after cancellation.
We're using autocommit mode. Mylog file is attached.
Server version is 7.4.6, psqlodbc version is 08.01.0101.
Also, we use unixODBC 2.2.8 with option "Threading=0" in odbcinst.ini.
Thank you.
----------------------------------------------------------------------
>Comment By: Ludek Finstrle (luf)
Date: 2005-12-06 11:14
Message:
There is problem that exec is blocking and cancel is for non-blocking operations.
I'll fix it as soon as possible.
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000457&group_id=1000125
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000457 ] Autocommit and Cancel
In-Reply-To: <20051206101434.3678D1125043@pgfoundry.org>
References: <20051206101434.3678D1125043@pgfoundry.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox