From: Craig Ringer <craig@2ndquadrant.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] f28a57: Introduce AutoSave = SERVER functionality
Date: Mon, 30 Jul 2018 00:13:03 -0700
Message-ID: <5b5eba7f92195_376f2b040ff02f88203a4@hookshot-fe-d2afb11.cp1-iad.github.net.mail> (raw)
Branch: refs/heads/sql07-autosave-statement-rollback
Home: https://github.com/pgjdbc/pgjdbc
Commit: f28a5726d5c25701cf4743a1a6adde12c2796d3e
https://github.com/pgjdbc/pgjdbc/commit/f28a5726d5c25701cf4743a1a6adde12c2796d3e
Author: Nikhil Sontakke <nikhils@2ndQuadrant.com>
Date: 2018-05-31 (Thu, 31 May 2018)
Changed paths:
M README.md
M docs/documentation/head/connect.md
M pgjdbc/src/main/java/org/postgresql/core/ServerVersion.java
M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java
M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
M pgjdbc/src/main/java/org/postgresql/jdbc/AutoSave.java
M pgjdbc/src/main/java/org/postgresql/jdbc/BatchResultHandler.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/AutoRollbackTestSuite.java
A pgjdbc/src/test/java/org/postgresql/test/jdbc2/BatchAutoSaveTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
Log Message:
-----------
Introduce AutoSave = SERVER functionality
If the Postgres server (11.0 and above) supports transaction
level rollback functionality, then instead of using JDBC side
manual savepoints in AutoSave=ALWAYS mode, use the server
side implementation. This patch introduces a new option for
AutoSave: SERVER for the same. Patch also includes relevant
test cases (BatchAutoSaveTest.java) and documentation changes
Commit: 448b981ff1676bd8f204c612d4e98106c5850196
https://github.com/pgjdbc/pgjdbc/commit/448b981ff1676bd8f204c612d4e98106c5850196
Author: Craig Ringer <craig@2ndquadrant.com>
Date: 2018-07-30 (Mon, 30 Jul 2018)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/PGProperty.java
Log Message:
-----------
Autosave patch failed to amend PGProperty.AUTOSAVE
Compare: https://github.com/pgjdbc/pgjdbc/compare/f28a5726d5c2^...448b981ff167
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
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: craig@2ndquadrant.com
Subject: Re: [pgjdbc/pgjdbc] f28a57: Introduce AutoSave = SERVER functionality
In-Reply-To: <5b5eba7f92195_376f2b040ff02f88203a4@hookshot-fe-d2afb11.cp1-iad.github.net.mail>
References: <5b5eba7f92195_376f2b040ff02f88203a4@hookshot-fe-d2afb11.cp1-iad.github.net.mail>
* 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