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 210829DD600 for ; Fri, 9 Dec 2005 08:42:13 -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 77434-10 for ; Fri, 9 Dec 2005 08:42:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by postgresql.org (Postfix) with ESMTP id 9DAFE9DCD24 for ; Fri, 9 Dec 2005 08:42:10 -0400 (AST) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.12.8/8.12.8) with ESMTP id jB9CgApv023243; Fri, 9 Dec 2005 15:42:12 +0300 Received: by tiger.solvo.ru (Postfix, from userid 504) id 3DABB326872; Fri, 9 Dec 2005 15:42:10 +0300 (MSK) Received: from crown (dual.solvo.ru [195.201.44.111]) by tiger.solvo.ru (Postfix) with ESMTP id ECE82326853; Fri, 9 Dec 2005 15:42:09 +0300 (MSK) From: "Eugene Fokin" To: "'Ludek Finstrle'" Cc: Subject: Re: [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction Date: Fri, 9 Dec 2005 15:42:47 +0300 Message-ID: <004b01c5fcbe$0f1b99a0$dd2cc9c3@solvo.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 In-Reply-To: <20051209105551.GB11585@soptik.pzkagis.cz> Importance: Normal X-Milter: Spamilter X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.286 required=5 tests=[AWL=0.286] X-Spam-Score: 0.286 X-Spam-Level: X-Archive-Number: 200512/115 X-Sequence-Number: 6594 I saw in the PostgreSQL log file, either in auto_commit mode on, psqlodbc generates implicit transaction for each "data change statement" and implicit transaction for whole bunch of consequent "select statmenets". So, it starts transaction at begin and doesn't close it before first "data change statement". If I'll cancel one of first select, I'll lose DateStyle. Regards. -- Eugene Fokin SOLVO Ltd. -----Original Message----- From: Ludek Finstrle [mailto:luf@pzkagis.cz] Sent: Friday, December 09, 2005 1:56 PM To: Eugene Fokin Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] [ psqlodbc-Bugs-1000476 ] DateStyle and Transaction > Probably, you're right about CC_commit() call place, but I think it > doesn't need to be checked about auto_commit mode. Because, after > cancellation ROLLBACK will break DateStyle either in auto_commit mode > on. It's strenge. There is no begin transaction in autocommit mode on. I'll try it. Thanks Luf