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 1flbV1-00073j-B4 for pgsql-jdbc@arkaria.postgresql.org; Fri, 03 Aug 2018 14:56:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1flbUz-0008CI-E9 for pgsql-jdbc@arkaria.postgresql.org; Fri, 03 Aug 2018 14:56:13 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1flbUz-0008CA-26 for pgsql-jdbc@lists.postgresql.org; Fri, 03 Aug 2018 14:56:13 +0000 Received: from m69-170.mailgun.net ([166.78.69.170]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1flbUu-0001m7-Qe for pgsql-jdbc@postgresql.org; Fri, 03 Aug 2018 14:56:11 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1533308167; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=1+GOEmLI7J52x1KvWj15tNEXR7PWqmHY20ERk/gAbo4=; b=kVSsAY5FL36sOySbCGeXYGF7Kl6dIJJsYx7cN0Lxg+5Jhx3j/zXGT7ySVjxMgIa5dAwf1uD8 0tOdcBsichwRiKrXShwVgoY3U0R4bBfz9PdSoiiU6I9Jzeg4mc64trvei6HnEPkd48hP1AxZ rxoIT0i0R4UcWFD2eG2J6k5wZPs= X-Mailgun-Sending-Ip: 166.78.69.170 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Sender: craig=2ndquadrant.com@github.com Received: from github.com (Unknown [192.30.252.39]) by mxa.mailgun.org with ESMTP id 5b646d07.7f16d22bee70-smtp-out-n01; Fri, 03 Aug 2018 14:56:07 -0000 (UTC) Date: Fri, 03 Aug 2018 07:56:06 -0700 From: Craig Ringer Reply-To: Craig Ringer To: pgsql-jdbc@postgresql.org Message-ID: <5b646d071cf_18dd22ab590e76f8819841@hookshot-fe-dfcc362.cp1-iad.github.net.mail> Subject: [pgjdbc/pgjdbc] f28a57: Introduce AutoSave = SERVER functionality Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5b646d06f3c5e_18dd22ab590e76f8819757"; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----==_mimepart_5b646d06f3c5e_18dd22ab590e76f8819757 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 Commit: 1de16b56aecd10b609b729b073c7a5edfb80892f https://github.com/pgjdbc/pgjdbc/commit/1de16b56aecd10b609b729b073c7a5edfb80892f Author: Craig Ringer Date: 2018-07-30 (Mon, 30 Jul 2018) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java Log Message: ----------- Make autosave=server missing server support error more specific autosave=server would report "Transaction rollback statements are not supported" even for completely unrelated connection errors like org.postgresql.util.PSQLException: Transaction rollback statements are not supported ... Caused by: org.postgresql.util.PSQLException: FATAL: role "test" does not exist ... Now it'll properly re-throw for other cases. Commit: ed9634830338487c661f56a7d38ba240801a5343 https://github.com/pgjdbc/pgjdbc/commit/ed9634830338487c661f56a7d38ba240801a5343 Author: Craig Ringer Date: 2018-08-03 (Fri, 03 Aug 2018) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java Log Message: ----------- Allow autosave=server to pipeline batches, avoiding round trips Craig Ringer and Muhammad Altaf Compare: https://github.com/pgjdbc/pgjdbc/compare/f28a5726d5c2^...ed9634830338 **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_5b646d06f3c5e_18dd22ab590e76f8819757--