X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CE1279DCAE0 for ; Thu, 8 Dec 2005 05:15:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25465-06 for ; Thu, 8 Dec 2005 05:15:41 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 0439B9DCAD7 for ; Thu, 8 Dec 2005 05:15:39 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 9957B112506B; Thu, 8 Dec 2005 09:15:41 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27724-08; Thu, 8 Dec 2005 05:15:39 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 4CD83112504F; Thu, 8 Dec 2005 09:15:39 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: =?UTF-8?Q?[_psqlodbc-Bugs-1000457_]_Autocommit_and_Cancel?= Content-type: text/plain; charset=UTF-8 Message-Id: <20051208091539.4CD83112504F@pgfoundry.org> Date: Thu, 8 Dec 2005 09:15:39 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.827 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.063, NO_REAL_NAME=0.55, SUBJECT_EXCESS_QP=0] X-Spam-Score: -0.827 X-Spam-Level: X-Archive-Number: 200512/87 X-Sequence-Number: 6566 Bugs item #1000457, was opened at 2005-11-30 14: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: Nobody (None) Date: 2005-12-08 09:15 Message: Sorry for missing mylog, I'll try to resend it into pgsql-odbc, because I can't attach file into existence issue. Also, I couldn't try your driver, because it's for Windows, but I'm using Linux and unixODBC. Thank you. ---------------------------------------------------------------------- Comment By: Ludek Finstrle (luf) Date: 2005-12-07 11:14 Message: I try to fix this problem. Please try one of attached drivers. Send me feedback throught pgsql-odbc mailing list with attached mylog and with yours odbc.ini settings for used datasource (I think you have to use usedeclarefetch option). I see no mylog attached (as you wrote you attach one). ---------------------------------------------------------------------- Comment By: Ludek Finstrle (luf) Date: 2005-12-06 10: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