Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fk2Mp-0006go-Lc for pgsql-jdbc@arkaria.postgresql.org; Mon, 30 Jul 2018 07:13:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fk2Mm-0000OF-Vp for pgsql-jdbc@arkaria.postgresql.org; Mon, 30 Jul 2018 07:13:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fk2Mm-0000O8-Nu for pgsql-jdbc@lists.postgresql.org; Mon, 30 Jul 2018 07:13:16 +0000 Received: from m69-169.mailgun.net ([166.78.69.169]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fk2Md-0006mt-9i for pgsql-jdbc@postgresql.org; Mon, 30 Jul 2018 07:13:15 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1532934784; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=IEOMFPUb7o669Q9iFJA8Ya14QCgotJbrImEodawFAEc=; b=fMClRc6wj6i/z6OXYFB5uwIInQjuY9Amrhhs6DPhmLcoEUuj28nFyH8XavJ4o+tfaSYWqqEI eM6kWSZyXfQsQD7DhoFn22w00CF1w5GOtsnQzXsn3riz1MHJ4WUfFsgDORJIa0kQaqxUS382 rniWUWp2G79Kt93Q7e5nizicuyI= X-Mailgun-Sending-Ip: 166.78.69.169 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Sender: craig=2ndquadrant.com@github.com Received: from github.com (Unknown [192.30.252.40]) by mxa.mailgun.org with ESMTP id 5b5eba7f.7f2139eff3f0-smtp-out-n03; Mon, 30 Jul 2018 07:13:03 -0000 (UTC) Date: Mon, 30 Jul 2018 00:13:03 -0700 From: Craig Ringer Reply-To: Craig Ringer To: pgsql-jdbc@postgresql.org Message-ID: <5b5eba7f92195_376f2b040ff02f88203a4@hookshot-fe-d2afb11.cp1-iad.github.net.mail> Subject: [pgjdbc/pgjdbc] f28a57: Introduce AutoSave = SERVER functionality Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5b5eba7f91de8_376f2b040ff02f8820250"; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----==_mimepart_5b5eba7f91de8_376f2b040ff02f8820250 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 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 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. ----==_mimepart_5b5eba7f91de8_376f2b040ff02f8820250--