pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: Automatic transactions in SELECT
Date: Fri, 01 Mar 2013 09:14:08 +0100
Message-ID: <kgpnum$7qu$1@ger.gmane.org> (raw)
In-Reply-To: <512FDF4F.8030502@nomagic.com>
References: <512F84ED.3050002@nomagic.com>
	<1362077623.96612.YahooMailNeo@web162902.mail.bf1.yahoo.com>
	<512FDF4F.8030502@nomagic.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

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



view thread (8+ messages)  latest in thread

Message-ID: <kgpnum$7qu$1@ger.gmane.org>
Permalink:  ../kgpnum$7qu$1@ger.gmane.org/
Also on:    postgresql.org/message-id/kgpnum$7qu$1@ger.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Automatic transactions in SELECT
  In-Reply-To: <kgpnum$7qu$1@ger.gmane.org>
  References: <512F84ED.3050002@nomagic.com> <1362077623.96612.YahooMailNeo@web162902.mail.bf1.yahoo.com> <512FDF4F.8030502@nomagic.com> <kgpnum$7qu$1@ger.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox