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 2C77D9DCD57 for ; Wed, 7 Dec 2005 07:14:34 -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 23053-03 for ; Wed, 7 Dec 2005 07:14:35 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id B31969DCD6E for ; Wed, 7 Dec 2005 07:14:31 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 496331125079; Wed, 7 Dec 2005 11:14:35 +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 68491-09; Wed, 7 Dec 2005 07:14:33 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id CE8CF1125074; Wed, 7 Dec 2005 11:14:32 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: =?UTF-8?B?WyBwc3Fsb2RiYy1CdWdzLTEwMDA0NTcgXSBBdXRvY29tbWl0IGFuZCBDYW5jZWw=?= Content-type: text/plain; charset=UTF-8 Message-Id: <20051207111432.CE8CF1125074@pgfoundry.org> Date: Wed, 7 Dec 2005 11:14:32 +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.763 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.127, NO_REAL_NAME=0.55, SUBJECT_EXCESS_BASE64=0] X-Spam-Score: -0.763 X-Spam-Level: X-Archive-Number: 200512/72 X-Sequence-Number: 6551 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-07 12: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 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