Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UBL5r-0003bj-3w for pgsql-jdbc@arkaria.postgresql.org; Fri, 01 Mar 2013 08:13:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UBL5q-0003SQ-4P for pgsql-jdbc@arkaria.postgresql.org; Fri, 01 Mar 2013 08:13:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UBL5p-0003SK-B9 for pgsql-jdbc@postgresql.org; Fri, 01 Mar 2013 08:13:25 +0000 Received: from plane.gmane.org ([80.91.229.3]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UBL5m-0002AX-5S for pgsql-jdbc@postgresql.org; Fri, 01 Mar 2013 08:13:25 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UBL66-0008Pr-Ee for pgsql-jdbc@postgresql.org; Fri, 01 Mar 2013 09:13:42 +0100 Received: from 217.110.94.121 ([217.110.94.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Mar 2013 09:13:42 +0100 Received: from spam_eater by 217.110.94.121 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Mar 2013 09:13:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: Automatic transactions in SELECT Date: Fri, 01 Mar 2013 09:14:08 +0100 Lines: 15 Message-ID: References: <512F84ED.3050002@nomagic.com> <1362077623.96612.YahooMailNeo@web162902.mail.bf1.yahoo.com> <512FDF4F.8030502@nomagic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.110.94.121 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 In-Reply-To: <512FDF4F.8030502@nomagic.com> X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Joseph Pravato, 28.02.2013 23:50: > That's sad to hear, unfortunately if that is the case we're probably going to have to do what you >recommended by switching applications or adding save points in by hand. I answered a similar question of yours on the novice list (regarding the VACUUM/autocommit problem) For my SQL tool (SQL Workbench/J) each statement that is run interactively is guarded with a savepoint. Upon an error, the tool automatically rolls back to the savepoint, leaving the transaction "intact" and letting you continue without the manual need to rollback (possibly losing changes you did before that). If you want to look at it, it's here: http://www.sql-workbench.net Regards Thomas -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc