Thread: [pgjdbc/pgjdbc] cf42ba: [maven-release-plugin] prepare releaseREL42.2.6

[pgjdbc/pgjdbc] cf42ba: [maven-release-plugin] prepare releaseREL42.2.6

From
Dave Cramer
Date:
Branch: refs/heads/release/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: cf42ba2a804d81a49e91e26c772fbed3d5eb43be
      https://github.com/pgjdbc/pgjdbc/commit/cf42ba2a804d81a49e91e26c772fbed3d5eb43be
  Author: pgjdbc CI <pgsql-jdbc@postgresql.org>
  Date:   2019-06-19 (Wed, 19 Jun 2019)

  Changed paths:
    M pgjdbc/pom.xml
    M pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare release REL42.2.6


  Commit: bb018f7e23e72227f87219e641a1f1c5a10aae09
      https://github.com/pgjdbc/pgjdbc/commit/bb018f7e23e72227f87219e641a1f1c5a10aae09
  Author: pgjdbc CI <pgsql-jdbc@postgresql.org>
  Date:   2019-06-19 (Wed, 19 Jun 2019)

  Changed paths:
    M pgjdbc/pom.xml
    M pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare for next development iteration


  Commit: 58804e9af41368fc9e956a7dd6cf799cb1d72420
      https://github.com/pgjdbc/pgjdbc/commit/58804e9af41368fc9e956a7dd6cf799cb1d72420
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-06-20 (Thu, 20 Jun 2019)

  Changed paths:
    M CHANGELOG.md
    M README.md
    M docs/_posts/2019-06-19-42.2.6-release.md

  Log Message:
  -----------
  note that waffle 1.9.x is only supported in jre8 version
Update README to point to new maven coordinates


  Commit: d96ed59eba6a2279da337684e696b198ec60685c
      https://github.com/pgjdbc/pgjdbc/commit/d96ed59eba6a2279da337684e696b198ec60685c
  Author: Vsevolod Kaimashnikov <vsevolodk@users.noreply.github.com>
  Date:   2019-06-28 (Fri, 28 Jun 2019)

  Changed paths:
    M README.md
    M docs/documentation/head/connect.md
    M pgjdbc/src/main/java/org/postgresql/PGProperty.java
    M pgjdbc/src/main/java/org/postgresql/util/PSQLState.java
    M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/SchemaTest.java

  Log Message:
  -----------
  Add more info about currentSchema property. (#1481)

Add in documentation that currentSchema property can be multiple
and fix test behavior.


  Commit: 3db55daf2dccdd49555fd73b70be5c15609cccfa
      https://github.com/pgjdbc/pgjdbc/commit/3db55daf2dccdd49555fd73b70be5c15609cccfa
  Author: Pavel Raiskup <praiskup@redhat.com>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M .travis/travis_build.sh
    M pgjdbc/pom.xml

  Log Message:
  -----------
  fix parent version in pgjdbc/pom.xml as well

This should fix Travis build for FEDORA_CI.


  Commit: ce8333a56ba74022adeb545b68e7d2bee32d966f
      https://github.com/pgjdbc/pgjdbc/commit/ce8333a56ba74022adeb545b68e7d2bee32d966f
  Author: Craig Ringer <craig@2ndquadrant.com>
  Date:   2019-07-05 (Fri, 05 Jul 2019)

  Changed paths:
    M docs/documentation/head/ext.md
    A docs/documentation/head/parameterstatus.md
    M docs/documentation/head/replication.md
    M docs/documentation/head/server-prepare.md
    M pgjdbc/src/main/java/org/postgresql/PGConnection.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/jdbc/PgConnection.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc2/ParameterStatusTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java

  Log Message:
  -----------
  Expose parameter status messages (GUC_REPORT) to the user (#1435)

* Expose parameter status messages (GUC_REPORT) to the user

Add a new `Map PGConnection.getParameterStatuses()` method that tracks the
latest values of all `GUC_REPORT` parameters reported by the server in
`ParameterStatus` protocol messages from the server. The map is read-only. A
convenience `PGConnection.getParameterStatus(String)` wrapper is also provided.

This provides a PgJDBC equivalent to the `PQparameterStatus(...)` `libpq` API
function.

Extensions may define custom GUCs that are set as `GUC_REPORT` when they
`DefineCustomStringVariable(...)` etc. This feature will properly handle such
GUCs, allowing applications to generate parameter status change messages in
their extensions and have them available to the JDBC driver without needing
round trips.

No assumptions are made about which server GUCs are `GUC_REPORT` or their
names, so it'll work (with possible test case tweaks) on current and future
server versions.

Github issue pgjdbc/pgjdbc#1428

* Attempt to make StatementTest.testShortQueryTimeout() more reliable

I'm observing intermittent failures like:

    testShortQueryTimeout(org.postgresql.test.jdbc2.StatementTest)  Time elapsed: 0.219 sec  <<< ERROR!
    org.postgresql.util.PSQLException: ERROR: canceling statement due to user request

The cause of that isn't yet clear. But I noticed that the test doesn't check
for the SQLSTATE of the expected exception, so fix that.


  Commit: 08d81291c69d02d8973d6b39dac82bdaad91f2ee
      https://github.com/pgjdbc/pgjdbc/commit/08d81291c69d02d8973d6b39dac82bdaad91f2ee
  Author: Craig Ringer <craig@2ndquadrant.com>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/QueryExecutorBase.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ConnectTimeoutTest.java

  Log Message:
  -----------
  Make ConnectTimeout test accept NoRouteToHostException (#1526)

* Fix a NullPointerException in uncommon failure cases

* Skip ConnectTimeout timeout on hosts that throw NoRouteToHostException

If a host throws NoRouteToHostException before the ConnectTimeout, the test
has neither failed nor succeeded.

Github issue #1526


  Commit: 51f3d0b75078e5c8687c7eae20ff37b28e65abec
      https://github.com/pgjdbc/pgjdbc/commit/51f3d0b75078e5c8687c7eae20ff37b28e65abec
  Author: Sehrope Sarkuni <sehrope@jackdb.com>
  Date:   2019-07-17 (Wed, 17 Jul 2019)

  Changed paths:
    M .github/pull_request_template.md

  Log Message:
  -----------
  docs: Add note to GitHub PR templates about test suites (#1531)

Adds a note to the GitHub PR template to verify that any new test files
have been added to an existing test suite to ensure they are actually
included in automated CI testing.


  Commit: aa8778d91bd166e2f351343855d6e0b0b71b1e62
      https://github.com/pgjdbc/pgjdbc/commit/aa8778d91bd166e2f351343855d6e0b0b71b1e62
  Author: Sehrope Sarkuni <sehrope@jackdb.com>
  Date:   2019-07-17 (Wed, 17 Jul 2019)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/replication/ReplicationTestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ParameterStatusTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/CompositeTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/Jdbc4TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/Jdbc41TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc42/Jdbc42TestSuite.java
    M pgjdbc/src/test/java/org/postgresql/test/ssl/SslTestSuite.java

  Log Message:
  -----------
  Sort test suites and enable missed tests (#1530)

* refactor: Add trailing comma to Jdbc2TestSuite class list

* refactor: Add trailing comma to Jdbc4TestSuite class list

* refactor: Sort Jdbc4TestSuite class list

* refactor: Add trailing comma to Jdbc3TestSuite class list

* refactor: Sort Jdbc3TestSuite class list

* refactor: Sort Jdbc2TestSuite class list

* test: Add missing tests to existing test suites

* refactor: Add trailing comma to ReplicationTestSuite class list

* refactor: Sort ReplicationTestSuite class list

* refactor: Add trailing comma to SslTestSuite class list

* refactor: Add trailing comma to Jdbc42TestSuite class list

* refactor: Add trailing comma to Jdbc41TestSuite class list

* refactor: Sort Jdbc41TestSuite class list

* refactor: Sort Jdbc42TestSuite class list

* refactor: Sort SslTestSuite class list

* test: Add server min version check to CompositeTest

Adds a check that the server version is at least 8.3 to CompositeTest
as it uses the uuid data type.

* fix: Reset default timezone after ParameterStatusTest

* fix: Skip composite type test when running in simple query mode


  Commit: c30556c6c059f25d4ed43608d1b2a2f02a168389
      https://github.com/pgjdbc/pgjdbc/commit/c30556c6c059f25d4ed43608d1b2a2f02a168389
  Author: Hajar Razip <38566952+mshajarrazip@users.noreply.github.com>
  Date:   2019-07-19 (Fri, 19 Jul 2019)

  Changed paths:
    M docs/documentation/94/resultset.md

  Log Message:
  -----------
  docs: add note on behavior of ResultSet.getString() (#1286) (#1528)

* docs: add note on behavior of ResultSet.getString() (#1286)

* docs: revise note on behavior of ResultSet.getString() (#1286)

revision based on comment by @bokken


  Commit: 1d0c477abbe23f23681a924ee0d216a5f7188079
      https://github.com/pgjdbc/pgjdbc/commit/1d0c477abbe23f23681a924ee0d216a5f7188079
  Author: Myo Wai Thant <40167572+myowaithant9@users.noreply.github.com>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java

  Log Message:
  -----------
  Issue 1134 Map inet type to InetAddress (#1527)

* added getInetAddress function and throw Exception


  Commit: fcbbc3e6408cc1bcf459b740c683f3db40a5050c
      https://github.com/pgjdbc/pgjdbc/commit/fcbbc3e6408cc1bcf459b740c683f3db40a5050c
  Author: Matteo Melli <teoincontatto@users.noreply.github.com>
  Date:   2019-07-24 (Wed, 24 Jul 2019)

  Changed paths:
    M pgjdbc/pom.xml
    M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java
    A pgjdbc/src/main/java/org/postgresql/jre7/sasl/ScramAuthenticator.java
    R pgjdbc/src/main/java/org/postgresql/jre8/sasl/ScramAuthenticator.java

  Log Message:
  -----------
  Updated scram to version 2.0 (#1532)


  Commit: fc8efc9a98e86059701e8674017947c0b702cab1
      https://github.com/pgjdbc/pgjdbc/commit/fc8efc9a98e86059701e8674017947c0b702cab1
  Author: Hajar Razip <38566952+mshajarrazip@users.noreply.github.com>
  Date:   2019-07-31 (Wed, 31 Jul 2019)

  Changed paths:
    M docs/documentation/head/resultset.md

  Log Message:
  -----------
  docs: update resultset.md in head to reflect 94 (#1528) (#1536)


  Commit: 0600990007669119b73ee2adb064184a4c62343f
      https://github.com/pgjdbc/pgjdbc/commit/0600990007669119b73ee2adb064184a4c62343f
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-07-31 (Wed, 31 Jul 2019)

  Changed paths:
    M pgjdbc/pom.xml

  Log Message:
  -----------
  add automatic module name to manifest for jdk9+ (#1538)

* add automatic module name to manifest for jdk9+


  Commit: 36a75cbaab4bda1b55f48aa9064258051cd89b10
      https://github.com/pgjdbc/pgjdbc/commit/36a75cbaab4bda1b55f48aa9064258051cd89b10
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/PGStream.java

  Log Message:
  -----------
  fix issue 1547, as long as peek returns some bytes do not reset the timeout, this allows us to continue checking
untilany async notifies are consumed (#1548)
 


  Commit: 60fa6d374a392d00475be0c128804c43b2852a35
      https://github.com/pgjdbc/pgjdbc/commit/60fa6d374a392d00475be0c128804c43b2852a35
  Author: Philippe Marschall <philippe.marschall@gmail.com>
  Date:   2019-08-27 (Tue, 27 Aug 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc42/GetObject310InfinityTests.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc42/GetObject310Test.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc42/SetObject310InfinityTests.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc42/SetObject310Test.java

  Log Message:
  -----------
  fix: proleptic java.time support (#1539)

Make the java.time support proleptic by not going through
TimestampUtils.toJavaSecs when in binary mode.

Fixes #1534


  Commit: f89e62cdce4895f163dc95353cd31614347624b6
      https://github.com/pgjdbc/pgjdbc/commit/f89e62cdce4895f163dc95353cd31614347624b6
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-08-28 (Wed, 28 Aug 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/replication/V3PGReplicationStream.java

  Log Message:
  -----------
  fix: In logical decoding the if the backend was requesting a reply we… (#1467)

* Do not call processCopyResults in flush

* Use System.nanos() instead of currentTimeMillis()

* Added lock into processCopyResults 

* ignore concurrent requests to processCopyResults

* reset the processingCopyResults in a try-finally block


  Commit: bda74d7eaa341c02427af4065d8321c8e45bfd83
      https://github.com/pgjdbc/pgjdbc/commit/bda74d7eaa341c02427af4065d8321c8e45bfd83
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-08-29 (Thu, 29 Aug 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java

  Log Message:
  -----------
  Log ignoring rollback when no transaction in progress (#1549)

* Log ignoring rollback when no transaction in progress

* Change logging level to FINE for debugging


  Commit: 56399efddd25281ccefd90c56e9db084c550d195
      https://github.com/pgjdbc/pgjdbc/commit/56399efddd25281ccefd90c56e9db084c550d195
  Author: Tim Ward <timothyjward@apache.org>
  Date:   2019-08-30 (Fri, 30 Aug 2019)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/IsValidTest.java

  Log Message:
  -----------
  Check that JDBC Connections that are closed by the server do not report as valid (#1533)

Signed-off-by: Tim Ward <timothyjward@apache.org>


  Commit: ba8294841a2e589e15dfcb79dbd31a83ec615208
      https://github.com/pgjdbc/pgjdbc/commit/ba8294841a2e589e15dfcb79dbd31a83ec615208
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-08-30 (Fri, 30 Aug 2019)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/IsValidTest.java

  Log Message:
  -----------
  fix assertion message (#1553)


  Commit: 89464a54777b9272893ab24bc5e28a24623e41bb
      https://github.com/pgjdbc/pgjdbc/commit/89464a54777b9272893ab24bc5e28a24623e41bb
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-08-30 (Fri, 30 Aug 2019)

  Changed paths:
    M .travis.yml
    M codecov.yml

  Log Message:
  -----------
  remove failing tests for PostgreSQL version 8.3 add in tests for 11

* test version 11 over jdk8, 9, 10


  Commit: 634ac7d8fee23eb5231ce91c616a64d120f8d8ee
      https://github.com/pgjdbc/pgjdbc/commit/634ac7d8fee23eb5231ce91c616a64d120f8d8ee
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-09-03 (Tue, 03 Sep 2019)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Fix travis parsing issue


  Commit: e2f6e9fc54a60f4b310bab9d83d74dbdc8941f32
      https://github.com/pgjdbc/pgjdbc/commit/e2f6e9fc54a60f4b310bab9d83d74dbdc8941f32
  Author: Steinar Bang <sb@dod.no>
  Date:   2019-09-03 (Tue, 03 Sep 2019)

  Changed paths:
    M pgjdbc/pom.xml
    A pgjdbc/src/main/feature/feature.xml

  Log Message:
  -----------
  Add an apache karaf feature for the PostgreSQL JDBC driver to fix #1552 (#1554)


  Commit: 8495127fe0450f94923251f67ab8e2208319437f
      https://github.com/pgjdbc/pgjdbc/commit/8495127fe0450f94923251f67ab8e2208319437f
  Author: Pavel Raiskup <praiskup@redhat.com>
  Date:   2019-09-04 (Wed, 04 Sep 2019)

  Changed paths:
    M packaging/rpm/postgresql-jdbc.spec.tpl

  Log Message:
  -----------
  rpm: remove karaf plugin

Apache Karaf is not yet available on Fedora.

Related to: #1554


  Commit: b2eaefef1787b8ab0b8fcb266d10be4945a4fe25
      https://github.com/pgjdbc/pgjdbc/commit/b2eaefef1787b8ab0b8fcb266d10be4945a4fe25
  Author: Adrien <arobert@delfingen.com>
  Date:   2019-09-05 (Thu, 05 Sep 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java

  Log Message:
  -----------
  Ensure isValid() will not last more than timeout seconds (#1557)

* Ensure isValid() will not last more than timeout seconds
even if the underlying socket is broken (issue #1556)

* Fix check style

* Add a try/catch to succeed tests

* Manages simply and properly get/setNetworkTimeout() in isValid()


  Commit: 71b510860c2a788b9a595d4f62fd48becd8fccd0
      https://github.com/pgjdbc/pgjdbc/commit/71b510860c2a788b9a595d4f62fd48becd8fccd0
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M CHANGELOG.md
    M contributors.json
    A docs/_posts/2019-09-03-42.2.7-release.md

  Log Message:
  -----------
  initial pass at release notes


  Commit: 6160402b147d28e0884154ebe2a47b082cbe4f94
      https://github.com/pgjdbc/pgjdbc/commit/6160402b147d28e0884154ebe2a47b082cbe4f94
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M CHANGELOG.md
    M contributors.json
    M docs/_posts/2019-09-03-42.2.7-release.md

  Log Message:
  -----------
  added in PR 1557


  Commit: e6b22ce21442a571d6ab568bf7051629ee50a71f
      https://github.com/pgjdbc/pgjdbc/commit/e6b22ce21442a571d6ab568bf7051629ee50a71f
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2019-09-09 (Mon, 09 Sep 2019)

  Changed paths:
    M README.md

  Log Message:
  -----------
  fix maven coordinates for release


Compare: https://github.com/pgjdbc/pgjdbc/compare/407b264b5694...e6b22ce21442