pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Sitnikov <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 389f0f: fix: convert silent rollbacks into exception if ap...
Date: Sat, 07 Mar 2020 10:49:10 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/13decb-389f0f@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 389f0ff5d40958e0154752aaf1664b451ad7ac74
      https://github.com/pgjdbc/pgjdbc/commit/389f0ff5d40958e0154752aaf1664b451ad7ac74
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2020-03-07 (Sat, 07 Mar 2020)

  Changed paths:
    M docs/documentation/head/connect.md
    M pgjdbc/src/main/java/org/postgresql/PGProperty.java
    M pgjdbc/src/main/java/org/postgresql/core/QueryExecutor.java
    M pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    M pgjdbc/src/main/java/org/postgresql/ds/common/BaseDataSource.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
    M pgjdbc/src/main/java/org/postgresql/xa/PGXAConnection.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/AutoRollbackTestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BatchExecuteTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BatchFailureTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/MiscTest.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc2/TransactionTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/Jdbc3SavepointTest.java
    A pgjdbc/src/test/java/org/postgresql/test/xa/XAPrepareFailureTest.java

  Log Message:
  -----------
  fix: convert silent rollbacks into exception if application sends commit command (#1729)

The feature is enabled by default.
It can be disabled by setting raiseExceptionOnSilentRollback=false connection property.

See discussion in pgsql-hackers: https://www.postgresql.org/message-id/b9fb50dc-0f6e-15fb-6555-8ddb86f4aa71%40postgresfriends.org

fixes #1697







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/13decb-389f0f@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2F13decb-389f0f@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/13decb-389f0f@github.com

 · 

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: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] 389f0f: fix: convert silent rollbacks into exception if ap...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/13decb-389f0f@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/13decb-389f0f@github.com>

* 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