X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 9CA8CD1B4F0 for ; Mon, 1 Sep 2003 09:49:49 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 26856-05 for ; Mon, 1 Sep 2003 06:49:20 -0300 (ADT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id E5137D1B97B for ; Mon, 1 Sep 2003 06:49:16 -0300 (ADT) Received: (qmail 11798 invoked from network); 1 Sep 2003 09:49:17 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 1 Sep 2003 09:49:17 -0000 Received: from tpf.co.jp ([126.0.1.68]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id SAA10080; Mon, 1 Sep 2003 18:49:11 +0900 (JST) Message-ID: <3F53164B.8E5D7523@tpf.co.jp> Date: Mon, 01 Sep 2003 18:50:03 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Hartmut Raschick Cc: "postgresql.org" Subject: Re: unnecessary auto-transaction-rollback from driver - part 1 of References: <3F4EFA32.5F9CB5DC@ke-elektronik.de> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/2 X-Sequence-Number: 3200 Hartmut Raschick wrote: > > next try, I hope this time the message is not too big for > poor pgsql-odbc@postgres.org.... > > PLEASE MIND part 2 (another mail) > > driver: psqlodbc-07.03.0100 > postgres: 7.3.2 > error messages: n/a > mylog: mylog_raschick10724.log > commlog(psqlodbc_????.log): psqlodbc_raschick10724.log > ODBC trace log (sql.log): n/a > > when issuing (w/i a transaction) a faulty request (in this case: attempt to > set a column that does not exist) the driver will auto-rollback (see logs). > however, as the program has started the transaction, it will try to rollback > itself. this will fail. (you see this twice in the logs - dont worry, one is > destructor clean-up...) Please don't execute "begin", "commit", "rollback" directly. For example, please call SQLTransact to commit/rollback the transaction. regards, Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/