Re: Statement-level rollback

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Michael Banck <michael(dot)banck(at)credativ(dot)de>
Cc: legrand legrand <legrand_legrand(at)hotmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Statement-level rollback
Date: 2017-03-07 21:38:19
Message-ID: CADK3HHL4SaFHA9KHKp_8rdmWC1LC7=LMP61+ZMwFQ3LEsrZA-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On 7 March 2017 at 16:18, Michael Banck <michael(dot)banck(at)credativ(dot)de> wrote:

> On Tue, Mar 07, 2017 at 01:49:29PM -0700, legrand legrand wrote:
> > JDBC has nothing and developers has to play with savepoint as described
> > http://blog.endpoint.com/2015/02/postgres-onerrorrollback-explained.html
>
> JDBC has it since 9.4.1210 (2016-09-07), unless I am mistaken:
>
> https://github.com/pgjdbc/pgjdbc/commit/adc08d57d2a9726309ea80d574b1db
> 835396c1c8

I thought he meant we have to play with savepoints.

Yes, we do it for you now

Dave Cramer

davec(at)postgresintl(dot)com
www.postgresintl.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-03-07 21:41:25 Re: WIP: [[Parallel] Shared] Hash
Previous Message Stephen Frost 2017-03-07 21:26:45 Re: Skip all-visible pages during second HeapScan of CIC

Browse pgsql-jdbc by date

  From Date Subject
Next Message legrand legrand 2017-03-07 22:15:32 Re: Statement-level rollback
Previous Message Michael Banck 2017-03-07 21:18:51 Re: Statement-level rollback