PackageTrack
Sign in Get early access

org.postgresql:pgjdbc-aggregate

42.2.12 #983 most downloaded on Maven Central pgjdbc/pgjdbc

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 10 months

Most releases are documented

notes for 19 of 25 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

25 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

25 releases · Dec 2015 to Mar 2020
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 25
  1. 42.2.12 31 Mar 2020
    Release notes

    Notable changes

    We have released 42.2.12 to correct regressions in this version: Specifically

    • PR 1729 was reverted as this is a breaking change
    • PR 1719 has been reverted as it introduced errors in the PgType Cache

    We recommend that version 42.2.11 not be used.

    Changed

    • reverted PR 1729 throw an error instead of silently rolling back a commit error. This change introduced a breaking change which will be moved to 42.3.0
    • reverted PR 1719 add support for full names of data types (#1719)
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.12 Released date: 2020-03-31 13:06:22 +0000 version: 42.2.12

    Changed

    • reverted PR 1729 throw an error instead of silently rolling back a commit error. This change introduced a breaking change which will be moved to 42.3.0
    • reverted PR 1719 add support for full names of data types (#1719)

    <!--more-->

    Commits by author

    Christian Ramseyer (1):

    Dave Cramer (1):

    • Revert "fix: convert silent rollbacks into exception if application sends commit command PR 1729" (#1746) 14576f4b

    Vladimir Sitnikov (1):

    Contributors to this release

    We thank the following people for their contributions to this release.

    Christian Ramseyer

    Dave Cramer

    Vladimir Sitnikov

    Open source →
  2. 42.2.11 10 Mar 2020
    Release notes

    Notable changes As mentioned above this version is broken and should not be used.

    Changed

    • Reverted PR 1641. The driver will now wait for EOF when sending cancel signals.
    • DatabaseMetaData#getProcedures returns only procedures (not functions) for PostgreSQL 11+ PR 1723
    • Convert silent rollbacks into exception if application sends commit or xa.prepare command PR 1729

    Added

    • feat: raiseExceptionOnSilentRollback connection option to configure if silent rollback should raise an exception PR 1729
    • feat: Expose ByteStreamWriter in CopyManager PR 1702
    • feat: add way to distinguish base and partitioned tables in PgDatabaseMetaData.getTables PR 1708
    • refactor: introduce tuple abstraction (rebased) PR 1701
    • refactor: make PSQLState enum consts for integrity constraint violations PR 1699
    • test: add makefile to create ssl certs PR 1706

    Fixed

    • fix: Always use . as decimal separator in PGInterval PR 1705
    • fix: allow DatabaseMetaData.getColumns to describe an unset scale PR 1716

    Changed

    • Build system update from Maven to Gradle PR 1627

    Added

    • docker-compose image for creating test databases (see docker folder)
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.11 Released date: 2020-03-10 00:00:00 +0300 version: 42.2.11

    We have released 42.2.12 to correct regressions in this version: Specifically

    • PR 1729 was reverted as this is a breaking change
    • PR 1719 has been reverted as it introduced errors in the PgType Cache

    We recommend that this version 42.2.11 not be used.

    Changed

    • Reverted PR 1641. The driver will now wait for EOF when sending cancel signals.
    • DatabaseMetaData#getProcedures returns only procedures (not functions) for PostgreSQL 11+ PR 1723
    • Convert silent rollbacks into exception if application sends commit or xa.prepare command PR 1729

    Added

    • Convert silent rollbacks into exception if application sends commit or xa.prepare command PR 1729
    • feat: Expose ByteStreamWriter in CopyManager PR 1702
    • feat: add way to distinguish base and partitioned tables in PgDatabaseMetaData.getTables PR 1708
    • refactor: introduce tuple abstraction (rebased) PR 1701
    • refactor: make PSQLState enum consts for integrity constraint violations PR 1699
    • test: add makefile to create ssl certs PR 1706

    Fixed

    • fix: Always use . as decimal separator in PGInterval PR 1705
    • fix: allow DatabaseMetaData.getColumns to describe an unset scale PR 1716

    <!--more-->

    Commits by author

    Dave Cramer (4):

    Lőrinc Pap (2):

    Magnus Reftel (1):

    Markus Winand (1):

    Mike Goodman (4):

    • refactor: make PSQLState enum consts for integrity constraint violations PR 1699 cc31c13f
    • feat: add way to distinguish base and partitioned tables in PgDatabaseMetaData.getTables PR 1708 25eb32c8
    • fix: add support for full names of data types PR 1719 f554118a
    • fix: getProcedures returns only procedures (not functions) for psql11+ PR 1723 5fbe0462

    Nick Mancuso (1):

    Sehrope Sarkuni (2):

    • fix: Correct sort order of PGProperty. ASSUME_MIN_SERVER_VERSION 3ea08125
    • test: Add test to check sort order of PGProperty values aa1b93f1

    Toddy69 (1):

    Vladimir Sitnikov (11):

    • test: skip PKCS12KeyTest when enable_ssl_tests is not set 6730f3fe
    • test: add makefile for creating test certificates 202f88e1
    • Revert "fix: remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) PR 1641" ca1f60ff
    • Revert "fix unstable test. Originally this would loop creating many statements, now it should timeout properly PR 1650" 5eabe1ae
    • style: compute nanoseconds with TimeUnit. SECONDS.toNanos b004c706
    • revert: use simple executor.shutdown() in testFastCloses fc5467c6
    • Move CopyBothResponseTest to replication folder 2509b663
    • doc: fix HTML5 errors in javadoc 161ea249
    • fix: convert silent rollbacks into exception if application sends commit command PR 1729 adcb194e
    • chore: add continuation_indent_size = 4 to .editorconfig for *.java 45d5831e
    • chore: remove end_of_line = lf from .editorconfig for .java 7ce254d2

    adrklos (1):

    crwr45 (1):

    • fix: allow DatabaseMetaData.getColumns to describe an unset scale PR 1716 30843e45

    Contributors to this release

    We thank the following people for their contributions to this release.

    adrklos

    crwr45

    Dave Cramer

    Lőrinc Pap

    Magnus Reftel

    Markus Winand

    Mike Goodman

    Nick Mancuso

    Sehrope Sarkuni

    Toddy69

    Vladimir Sitnikov

    Open source →
  3. 42.2.10 06 Feb 2020
    Release notes

    Changed

    • (!) Regression: remove receiving EOF from backend after cancel PR 1641. The regression is that the subsequent query might receive the cancel signal.

    Added

    • Add maxResultBuffer property PR 1657
    • add caller push of binary data (rebase of #953) PR 1659

    Fixed

    • Cleanup PGProperty, sort values, and add some missing to docs PR 1686
    • Fixing LocalTime rounding (losing precision) PR 1570
    • Network Performance of PgDatabaseMetaData.getTypeInfo() method PR 1668
    • Issue #1680 updating a boolean field requires special handling to set it to t or f instead of true or false PR 1682
    • bug in pgstream for replication PR 1681
    • Issue #1677 NumberFormatException when fetching PGInterval with small value PR 1678
    • Metadata queries improvements with large schemas. PR 1673
    • Utf 8 encoding optimizations PR 1444
    • interval overflow PR 1658
    • Issue #1482 where the port was being added to the GSSAPI service name PR 1651
    • remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) PR 1641
    • Unable to register out parameter Issue #1646 PR 1648
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.10 Released date: 2020-01-30 20:12:11 +0000 version: 42.2.10

    Changed

    • (!) Regression: remove receiving EOF from backend after cancel PR 1641. The regression is that the subsequent query might receive the cancel signal.

    Added

    • Add maxResultBuffer property PR 1657
    • add caller push of binary data (rebase of #953) PR 1659

    Fixed

    • Cleanup PGProperty, sort values, and add some missing to docs PR 1686
    • Fixing LocalTime rounding (losing precision) PR 1570
    • Network Performance of PgDatabaseMetaData.getTypeInfo() method PR 1668
    • Issue #1680 updating a boolean field requires special handling to set it to t or f instead of true or false PR 1682
    • bug in pgstream for replication PR 1681
    • Issue #1677 NumberFormatException when fetching PGInterval with small value PR 1678
    • Metadata queries improvements with large schemas. PR 1673
    • Utf 8 encoding optimizations PR 1444
    • interval overflow PR 1658
    • Issue #1482 where the port was being added to the GSSAPI service name PR 1651
    • remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) PR 1641
    • Unable to register out parameter Issue #1646 PR 1648

    [42.2.9] (2019-12-06)

    Changed

    Added

    • read only transactions PR 1252
    • pkcs12 key functionality PR 1599
    • new "escapeSyntaxCallMode" connection property PR 1560
    • connection property to limit server error detail in exception exceptions PR 1579
    • cancelQuery() to PGConnection public interface PR 1157
    • support for large update counts (JDBC 4.2) PR 935
    • Add Binary Support for Oid. NUMERIC and Oid. NUMERIC_ARRAY PR 1636

    Fixed

    • issue 716 getTypeInfo() may not return data in the order specified in Oracle documentation PR 1506
    • PgSQLXML setCharacterStream() results in null value PR 1608
    • get correct column length for simple domains PR 1605
    • NPE as a result of calling executeQuery twice on a statement fixes issue #684 [PR 1610] (https://github.com/pgjdbc/pgjdbc/pull/1610)
    • handle numeric domain types PR 1611
    • pginterval to take iso8601 strings PR 1612
    • remove currentTimeMillis from code, tests are OK PR 1617
    • NPE when calling setNull on a PreparedStatement with no parameters PR 1620
    • allow OUT parameter registration when using CallableStatement native CALL PR 1561
    • add release save point into execute with batch PR 1583
    • Prevent use of extended query protocol for BEGIN before COPY PR 1639

    <!--more-->

    Commits by author

    Brett Okken (2):

    Craig Ringer (1):

    • Prevent use of extended query protocol for BEGIN before COPY PR 1639 b3711537

    Dave Cramer (33):

    Dongming (1):

    Frane Roje (1):

    GregN (2):

    • feat: add new "escapeSyntaxCallMode" connection property PR 1560 d7559138
    • fix: allow OUT parameter registration when using CallableStatement native CALL PR 1561 ed74670f

    Igor Volkov (1):

    • Fix exception on PGCopyOutputStream.close() after endCopy() PR 1574 (#1575) 539a0925

    IvyDev0 (1):

    • fix: null pointer exception from PgResultSetMetaData when there's no column metadata PR 1615 08bd46bf

    Jorge Solorzano (1):

    Knut Wannheden (1):

    Lőrinc Pap (1):

    • feat: add caller push of binary data (rebase of PR 953 (#1659) db228a4f

    Mahmoud Bahaa (4):

    • Add Binary Support for Oid. NUMERIC and Oid. NUMERIC_ARRAY PR 1636 c85b149d
    • Only allow binary transfer for those Oids that the pgjdbc currently supports PR 1637 ad83cb33
    • Fix test case by changing executeQuery to execute PR 1642 1d47c3cc
    • fix: remove receiving EOF from backend after cancel since according to protocol the server closes the connection once cancel is sent (connection reset exception is always thrown) PR 1641 23cce8ad

    Michail Nikolaev (1):

    • fix: do ssl handshake after socket timeout and buffer size settings PR 1584 e39a0be0

    Pavel Raiskup (1):

    • rpm: drop BR on properties-maven-plugin 91186c08

    Roman Ivanov (1):

    Russell Briggs (1):

    • Fix Network Performance of PgDatabaseMetaData.getTypeInfo() method PR 1668 beb354eb

    Sehrope Sarkuni (7):

    Svein Baardsen (1):

    • fix: PR 1677 NumberFormatException when fetching PGInterval with small value (#1678) e38868b2

    Tom Eicher (1):

    • fix: DataSources broken by connection failover urls PR 1039 (#1457) bd9485ef

    Torsten Brodbeck (1):

    Vladimir Sitnikov (1):

    • style: use fixed checkstyle version so the build does not depend on user machine d164cba2

    Yuriy Yudin (1):

    Zhenlei Huang (2):

    adrklos (1):

    bjanczak (1):

    draderaws (2):

    hyunkshinft (1):

    reibitto (1):

    rnveach (1):

    Árpád Magosányi (2):

    • fix documentation on generating the pk8 key. closes: PR 1585 (#1586) 635cc865
    • security notice and clarifications on choosing the right cipher suite for client key PR 1591 c67b0b0b

    Contributors to this release

    We thank the following people for their contributions to this release.

    adrklos

    Árpád Magosányi

    bjanczak

    Brett Okken

    Craig Ringer

    Dave Cramer

    Dongming

    draderaws

    Frane Roje

    GregN

    hyunkshinft

    Igor Volkov

    IvyDev0

    Jorge Solorzano

    Knut Wannheden

    Lőrinc Pap

    Mahmoud Bahaa

    Michail Nikolaev

    Pavel Raiskup

    reibitto rnveach

    Roman Ivanov

    Russell Briggs

    Sehrope Sarkuni

    Svein Baardsen

    Tom Eicher

    Torsten Brodbeck

    Vladimir Sitnikov

    Yuriy Yudin

    Zhenlei Huang

    Open source →
  4. 42.2.9 07 Dec 2019
    Release notes

    Changed

    Added

    • read only transactions PR 1252
    • pkcs12 key functionality PR 1599
    • new "escapeSyntaxCallMode" connection property PR 1560
    • connection property to limit server error detail in exception exceptions PR 1579
    • cancelQuery() to PGConnection public interface PR 1157
    • support for large update counts (JDBC 4.2) PR 935
    • Add Binary Support for Oid.NUMERIC and Oid.NUMERIC_ARRAY PR 1636

    Fixed

    • issue 716 getTypeInfo() may not return data in the order specified in Oracle documentation PR 1506
    • PgSQLXML setCharacterStream() results in null value PR 1608
    • get correct column length for simple domains PR 1605
    • NPE as a result of calling executeQuery twice on a statement fixes issue #684 [PR 1610] (https://github.com/pgjdbc/pgjdbc/pull/1610)
    • handle numeric domain types PR 1611
    • pginterval to take iso8601 strings PR 1612
    • remove currentTimeMillis from code, tests are OK PR 1617
    • NPE when calling setNull on a PreparedStatement with no parameters PR 1620
    • allow OUT parameter registration when using CallableStatement native CALL PR 1561
    • add release save point into execute with batch PR 1583
    • Prevent use of extended query protocol for BEGIN before COPY PR 1639
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.9 Released date: 2019-12-06 17:52:49 +0000 version: 42.2.9

    Changed

    Added

    • read only transactions PR 1252
    • pkcs12 key functionality PR 1599
    • new "escapeSyntaxCallMode" connection property PR 1560
    • connection property to limit server error detail in exception exceptions PR 1579
    • cancelQuery() to PGConnection public interface PR 1157
    • support for large update counts (JDBC 4.2) PR 935
    • Add Binary Support for Oid. NUMERIC and Oid. NUMERIC_ARRAY PR 1636

    Fixed

    • issue 716 getTypeInfo() may not return data in the order specified in Oracle documentation PR 1506
    • PgSQLXML setCharacterStream() results in null value PR 1608
    • get correct column length for simple domains PR 1605
    • NPE as a result of calling executeQuery twice on a statement fixes issue #684 [PR 1610] (https://github.com/pgjdbc/pgjdbc/pull/1610)
    • handle numeric domain types PR 1611
    • pginterval to take iso8601 strings PR 1612
    • remove currentTimeMillis from code, tests are OK PR 1617
    • NPE when calling setNull on a PreparedStatement with no parameters PR 1620
    • allow OUT parameter registration when using CallableStatement native CALL PR 1561
    • add release save point into execute with batch PR 1583
    • Prevent use of extended query protocol for BEGIN before COPY PR 1639

    <!--more-->

    Brett Okken (1):

    Craig Ringer (1):

    • Prevent use of extended query protocol for BEGIN before COPY PR 1639 b3711537

    Dave Cramer (20):

    Dongming (1):

    GregN (2):

    • feat: add new "escapeSyntaxCallMode" connection property PR 1560 d7559138
    • fix: allow OUT parameter registration when using CallableStatement native CALL PR 1561 ed74670f

    Igor Volkov (1):

    • Fix exception on PGCopyOutputStream.close() after endCopy() PR 1574 (#1575) 539a0925

    IvyDev0 (1):

    • fix: null pointer exception from PgResultSetMetaData when there's no column metadata PR 1615 08bd46bf

    Jorge Solorzano (1):

    Knut Wannheden (1):

    Mahmoud Bahaa (2):

    • Add Binary Support for Oid. NUMERIC and Oid. NUMERIC_ARRAY PR 1636 c85b149d
    • Only allow binary transfer for those Oids that the pgjdbc currently supports PR 1637 ad83cb33

    Michail Nikolaev (1):

    • fix: do ssl handshake after socket timeout and buffer size settings PR 1584 e39a0be0

    Pavel Raiskup (1):

    • rpm: drop BR on properties-maven-plugin 91186c08

    Sehrope Sarkuni (5):

    Tom Eicher (1):

    • fix: DataSources broken by connection failover urls PR 1039 (#1457) bd9485ef

    Torsten Brodbeck (1):

    Yuriy Yudin (1):

    rnveach (1):

    Árpád Magosányi (2):

    • fix documentation on generating the pk8 key. closes: PR 1585 (#1586) 635cc865
    • security notice and clarifications on choosing the right cipher suite for client key PR 1591 c67b0b0b

    Contributors to this release

    We thank the following people for their contributions to this release.

    Árpád Magosányi

    Brett Okken

    Craig Ringer

    Dave Cramer

    Dongming

    GregN

    Igor Volkov

    IvyDev0

    Jorge Solorzano

    Knut Wannheden

    Mahmoud Bahaa

    Michail Nikolaev

    Pavel Raiskup

    rnveach

    Sehrope Sarkuni

    Tom Eicher

    Torsten Brodbeck

    Yuriy Yudin

    Open source →
  5. 42.2.8 13 Sep 2019
    Release notes

    Changed

    Added

    Fixed

    • fix: Revert inet default Java type to PGObject and handle values with net masks PR 1568
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.8 Released date: 2019-09-13 13:23:26 +0000 version: 42.2.8

    Changed

    Added

    Fixed

    <!--more-->

    Commits by author

    Sehrope Sarkuni (1):

    • fix: Revert inet default Java type to PGObject and handle values with net masks PR 1568 3df32f9

    Contributors to this release

    We thank the following people for their contributions to this release.

    Dave Cramer

    Sehrope Sarkuni

    Open source →
  6. 42.2.7 10 Sep 2019
    Release notes

    Changed

    Added

    • Expose parameter status messages (GUC_REPORT) to the user PR 1435
    • Add automatic module name to manifest for jdk9+ PR 1538
    • Log ignoring rollback when no transaction in progress PR 1549
    • Map inet type to InetAddress PR 1527 issue 1134

    Fixed

    • fix issue 1547 As long as peek returns some bytes do not reset the timeout, this allows us to continue checking until any async notifies are consumed PR 1548
    • fix: issue 1466 In logical decoding the if the backend was requesting a reply we… PR 1467
    • fix: issue 1534 Proleptic java.time support PR 1539
    • fix Ensure isValid() will not last more than timeout seconds PR 1557
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.7 Released date: 2019-09-10 13:50:37 +0000 version: 42.2.7

    Changed

    Added

    • Expose parameter status messages (GUC_REPORT) to the user PR 1435
    • Add automatic module name to manifest for jdk9+ PR 1538
    • Log ignoring rollback when no transaction in progress PR 1549
    • Map inet type to InetAddress PR 1527 issue 1134

    Fixed

    • fix issue 1547 As long as peek returns some bytes do not reset the timeout, this allows us to continue checking until any async notifies are consumed PR 1548
    • fix: issue 1466 In logical decoding the if the backend was requesting a reply we… PR 1467
    • fix: issue 1534 Proleptic java.time support PR 1539
    • fix Ensure isValid() will not last more than timeout seconds PR 1557

    <!--more-->

    Commits by author

    Adrien (1):

    • Ensure isValid() will not last more than timeout seconds PR 1557 b2eaefe

    Craig Ringer (2):

    • Expose parameter status messages (GUC_REPORT) to the user PR 1435 ce8333a
    • Make ConnectTimeout test accept NoRouteToHostException PR 1526 08d8129

    Dave Cramer (8):

    • note that waffle 1.9.x is only supported in jre8 version Update README to point to new maven coordinates 58804e9
    • add automatic module name to manifest for jdk9+ PR 1538 0600990
    • fix issue 1547, as long as peek returns some bytes do not reset the timeout, this allows us to continue checking until any async notifies are consumed PR 1548 36a75cb
    • fix: In logical decoding the if the backend was requesting a reply we… PR 1467 f89e62c
    • Log ignoring rollback when no transaction in progress PR 1549 bda74d7
    • fix assertion message PR 1553 ba82948
    • remove failing tests for PostgreSQL version 8.3 add in tests for 11 89464a5
    • Fix travis parsing issue 634ac7d

    Hajar Razip (2):

    • docs: add note on behavior of ResultSet.getString() PR 1286 (#1528) c30556c
    • docs: update resultset.md in head to reflect 94 PR 1528 (#1536) fc8efc9

    Matteo Melli (1):

    Myo Wai Thant (1):

    Pavel Raiskup (2):

    • fix parent version in pgjdbc/pom.xml as well 3db55da
    • rpm: remove karaf plugin 8495127

    Philippe Marschall (1):

    Sehrope Sarkuni (2):

    Steinar Bang (1):

    • Add an apache karaf feature for the PostgreSQL JDBC driver to fix PR 1552 (#1554) e2f6e9f

    Tim Ward (1):

    • Check that JDBC Connections that are closed by the server do not report as valid PR 1533 56399ef

    Vsevolod Kaimashnikov (1):

    Contributors to this release

    We thank the following people for their contributions to this release.

    Adrien

    Craig Ringer

    Dave Cramer

    Hajar Razip

    Matteo Melli

    Myo Wai Thant

    Pavel Raiskup

    Philippe Marschall

    Sehrope Sarkuni

    Steinar Bang

    Tim Ward

    Vsevolod Kaimashnikov

    Open source →
  7. 42.2.6 19 Jun 2019
    Release notes

    Known issues

    • Waffle has dropped support for 1.6, 1.7 as such the new waffle 1.9.x is only available in jre8
    • Microseconds in timestamps might be truncated when transferred in binary mode
    • 24:00 time handling is not consistent issue 1385
    • Unexpected packet type during stream replication issue 1466
    • Driver goes missing after OSGi bundle restart issue 1476

    Changed

    • Change IS_GENERATED to IS_GENERATEDCOLUMN as per spec PR 1485
    • Fix missing metadata columns, and misspelled columns in PgDatabaseMetaData#getTables PR 1323

    Added

    • CI tests with Java 11, and Java EA
    • Support temporary replication slots in ReplicationCreateSlotBuilder PR 1306
    • Support PostgreSQL 11, 12
    • Return function (PostgreSQL 11) columns in PgDatabaseMetaData#getFunctionColumns
    • Return information on create replication slot, now the snapshot_name is exported to allow a consistent snapshot in some uses cases. PR 1335

    Fixed

    • Fixed async copy performance (1ms per op) in SSL mode PR 1314
    • Return Double.NaN for 'NaN'::numeric PR 1304
    • Performance issue in PgDatabaseMetaData#getTypeInfo with lots of types in DB PR 1302
    • PGCopyInputStream#read should cap values to [0, 255], -1 PR 1349
    • Fixes LocalDateTime handling of BC dates PR 1388
    • Release savepoints in autosave mode to prevent out of shared memory errors at the server side PR 1409
    • Fix execution with big decimal in simple query mode. PR 1463
    • Fix rounding for timestamps truncated to dates before 1970 PR 1502
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.6 Released date: 2019-06-19 00:06:55 +0300 version: 42.2.6

    Known issues

    • Waffle has dropped support for 1.6, 1.7 as such the new waffle 1.9.x is only available in jre8
    • Microseconds in timestamps might be truncated when transferred in binary mode
    • 24:00 time handling is not consistent issue 1385
    • Unexpected packet type during stream replication issue 1466
    • Driver goes missing after OSGi bundle restart issue 1476

    Changed

    • Change IS_GENERATED to IS_GENERATEDCOLUMN as per spec PR 1485
    • Fix missing metadata columns, and misspelled columns in PgDatabaseMetaData#getTables PR 1323

    Added

    • CI tests with Java 11, and Java EA
    • Support temporary replication slots in ReplicationCreateSlotBuilder PR 1306
    • Support PostgreSQL 11, 12
    • Return function (PostgreSQL 11) columns in PgDatabaseMetaData#getFunctionColumns
    • Return information on create replication slot, now the snapshot_name is exported to allow a consistent snapshot in some uses cases. PR 1335

    Fixed

    • Fixed async copy performance (1ms per op) in SSL mode PR 1314
    • Return Double. NaN for 'NaN'::numeric PR 1304
    • Performance issue in PgDatabaseMetaData#getTypeInfo with lots of types in DB PR 1302
    • PGCopyInputStream#read should cap values to [0, 255], -1 PR 1349
    • Fixes LocalDateTime handling of BC dates PR 1388
    • Release savepoints in autosave mode to prevent out of shared memory errors at the server side PR 1409
    • Fix execution with big decimal in simple query mode. PR 1463
    • Fix rounding for timestamps truncated to dates before 1970 PR 1502

    <!--more-->

    Commits by author

    Adam Brusselback (1):

    • Add method alias's for each property which didn't use the conventiona… PR 1436 0efcf81c

    AlexElin (6):

    Andrew Guibert (1):

    Craig Ringer (2):

    • fix: NPE in PGXAConnection$ConnectionHandler.invoke() of .equals(null) PR 1365 cea5231b
    • Update waffle-jna to new artifact coordinates PR 1383 72dc692e

    Dave Cramer (31):

    Dmitriy Tseyler (1):

    Doug Mayer (1):

    • Add core type delimiters into cache for array type OIDs. PR 1416 6a0960a6

    Harry Chan (1):

    Ivan Leskin (1):

    Jorge Solorzano (2):

    Kamal Kumlien (1):

    Kevin Wooten (1):

    Krzysztof Szafrański (1):

    Marc Dean (1):

    Mark Nguyen (1):

    Mykola Nikishov (2):

    Nikolai Ivanov (1):

    Philip Sanetra (1):

    • feat: Extend ReplicationCreateSlotBuilder DSL to support temporary replications slots PR 1306 d514ceb5

    Sehrope Sarkuni (4):

    Sualeh Fatehi (2):

    • Fix: getFunctionColumns used to return ProcedureColumns, now returns function columns b8a86807
    • Update testing documents, and point to jackdb/pgjdbc-test-vm PR 1363 2a715a98

    Tyson Andre (1):

    Vladimir Sitnikov (9):

    • docs: reflect 42.2.5 release in readme.md d43398a5
    • perf: fix 1ms per async CopyAPI (regression since 42.2.5) PR 1314 e2623d63
    • chore: use openjdk7 to boostrap Travis CI images for JDK 6 PR 1366 cdfd49cf
    • test: avoid locale-dependent output in SetObject310Test ef14ceae
    • fix: date rounding errors for dates before 1970 b5653899
    • docs: update translation files 9fcaa98e
    • fix: temporary make LibPQFactory. ConsoleCallbackHandler public 95d8da60
    • Update pgjdbc-parent-poms to 1.1.6 to use updated waffle-jna f0a297db
    • Update changelog for 42.2.6 8944fa67

    itchyny (1):

    jajalvipul (1):

    • Added break statement to avoid the additional iterations in for loop PR 1406 6b13f7b7

    kaiwangchen (1):

    kazachka (2):

    maltalex (1):

    pbillen (1):

    • Allow setFlushedLSN(lsn) and setAppliedLSN(lsn) from outside main loop PR 1329 381cf45c

    rnveach (1):

    Contributors to this release

    We thank the following people for their contributions to this release.

    Adam Brusselback

    AlexElin

    Andrew Guibert

    Craig Ringer

    Dave Cramer

    Dmitriy Tseyler

    Doug Mayer

    Harry Chan

    itchyny

    Ivan Leskin

    jajalvipul

    Jorge Solorzano

    kaiwangchen

    Kamal Kumlien

    kazachka

    Kevin Wooten

    Krzysztof Szafrański

    maltalex

    Marc Dean

    Mark Nguyen

    Mykola Nikishov

    Nikolai Ivanov

    pbillen

    Philip Sanetra

    rnveach

    Sehrope Sarkuni

    Sualeh Fatehi

    Tyson Andre

    Vladimir Sitnikov

    Open source →
  8. 42.2.5 27 Aug 2018
    Release notes

    Known issues

    Changed

    • ssl=true implies sslmode=verify-full, that is it requires valid server certificate cdeeaca4

    targetServerType=master has been deprecated in favour of targetServerType=primary. master will still be accepted but not documented.

    Added

    • Support for sslmode=allow/prefer/require cdeeaca4

    Fixed

    • Security: added server hostname verification for non-default SSL factories in sslmode=verify-full (CVE-2018-10936) cdeeaca4
    • Updated documentation on SSL configuration fa032732
    • Updated Japanese translations PR 1275
    • IndexOutOfBounds on prepared multistatement with insert values c2885dd0
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.5 Released date: 2018-08-27 18:21:38 +0300 version: 42.2.5

    Known issues

    Changed

    • ssl=true implies sslmode=verify-full, that is it requires valid server certificate cdeeaca4

    Added

    • Support for sslmode=allow/prefer/require cdeeaca4

    Fixed

    • Security: added server hostname verification for non-default SSL factories in sslmode=verify-full (CVE-2018-10936) cdeeaca4
    • Updated documentation on SSL configuration fa032732
    • Updated Japanese translations PR 1275
    • IndexOutOfBounds on prepared multistatement with insert values c2885dd0

    <!--more-->

    Commits by author

    Christoph Berg (1):

    Dave Cramer (4):

    Kazuhiro Sera (1):

    Kyotaro Horiguchi (1):

    Sehrope Sarkuni (1):

    Vladimir Sitnikov (12):

    • reflect 42.2.4 release in readme.md b99cea0d
    • doc: add SQL_TSI to the known issues for 42.2.3 [ci-skip] 2da319a0
    • docs: escape underscores in changelog otherwise it produces italic b1507f84
    • docs: typo in 42.2.3 changelog "minute->second" 5898cdf1
    • refactor: remove unused PgPreparedStatement.adjustIndex PR 1253 178eecc9
    • test: run testShortQueryTimeout in PG_VERSION=HEAD Travis job only PR 1270 ecd412e4
    • fix: remove POT-Creation-Date from generated .po and .pot files PR 1269 450a496b
    • fix: use UTF-8 encoding in generated translation/messages_*.java files 2cbe7b35
    • fix: typo in "One ore more ClientInfo failed" error message [ci skip] 21e126f4
    • fix: IndexOutOfBounds on prepared multistatement with insert values PR 1289 c2885dd0
    • security: implement SSL hostname verification for non-default (LibPQFactory) SSL factories (CVE-2018-10936) cdeeaca4
    • Update changelog for 42.2.5 237a89bf

    Contributors to this release

    We thank the following people for their contributions to this release.

    Christoph Berg

    Dave Cramer

    Kazuhiro Sera

    Kyotaro Horiguchi

    Sehrope Sarkuni

    Vladimir Sitnikov

    Open source →
  9. 42.2.4 14 Jul 2018
    Release notes

    Changed

    • PreparedStatement.setNull(int parameterIndex, int t, String typeName) no longer ignores the typeName argument if it is not null PR 1160

    Fixed

    • Fix treatment of SQL_TSI_YEAR, SQL_TSI_WEEK, SQL_TSI_MINUTE PR 1250
    • Map integrity constraint violation to XA_RBINTEGRITY instead of XAER_RMFAIL PR 1175 f2d1352c
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.4 Released date: 2018-07-14 19:02:04 +0300 version: 42.2.4

    Changed

    • PreparedStatement.setNull(int parameterIndex, int t, String typeName) no longer ignores the typeName argument if it is not null PR 1160

    Fixed

    • Fix treatment of SQL_TSI_YEAR, SQL_TSI_WEEK, SQL_TSI_MINUTE PR 1250
    • Map integrity constraint violation to XA_RBINTEGRITY instead of XAER_RMFAIL PR 1175 f2d1352c

    <!--more-->

    Commits by author

    Christian Kotzbauer (1):

    Dave Cramer (3):

    • use the correct date for the release 985b63b7
    • also fix spelling of error b0162c0a
    • fix: setNull for types not in java.sql. Types (e.g. uuid) PR 1160 6287c954

    Jan Van den Bergh (1):

    • fix: map integrity constraint violation to XA_RBINTEGRITY instead of XAER_RMFAIL PR 1175 f2d1352c

    Pavel Raiskup (1):

    • packaging: sync RPM spec with Fedora Rawhide cc545d28

    Vladimir Sitnikov (2):

    • docs: fix broken commit link in 42.2.3 changelog 776e1717
    • fix: treatment of SQL_TSI_YEAR, SQL_TSI_WEEK, SQL_TSI_MINUTE PR 1250 4668f43f

    Contributors to this release

    We thank the following people for their contributions to this release.

    Christian Kotzbauer

    Dave Cramer

    Jan Van den Bergh

    Pavel Raiskup

    Vladimir Sitnikov

    Open source →
  10. 42.2.3 12 Jul 2018
    Release notes

    Known issues

    • SQL_TSI_YEAR is treated as hour, SQL_TSI_WEEK is treated as hour, SQL_TSI_MINUTE is treated as second

    Changed

    • Reduce the severity of the error log messages when an exception is re-thrown. The error will be thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc PR 1187
    • Deprecate Fastpath API PR 903
    • Support parenthesis in {oj ...} JDBC escape syntax PR 1204
    • ubenchmark module moved pgjdbc/benchmarks repository due to licensing issues PR 1215
    • Include section on how to submit a bug report in CONTRIBUTING.md PR 951

    Fixed

    • getString for PGObject-based types returned "null" string instead of null PR 1154
    • Field metadata cache can be disabled via databaseMetadataCacheFields=0 PR 1052
    • Properly encode special symbols in passwords in BaseDataSource PR 1201
    • Adjust date, hour, minute, second when rounding nanosecond part of a timestamp PR 1212
    • perf: reduce memory allocations in query cache PR 1227
    • perf: reduce memory allocations in SQL parser PR 1230, PR 1233
    • Encode URL parameters in BaseDataSource PR 1201
    • Improve JavaDoc formatting PR 1236
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.3 Released date: 2018-07-12 12:02:03 +0300 version: 42.2.3

    Known issues

    • SQL_TSI_YEAR is treated as hour, SQL_TSI_WEEK is treated as hour, SQL_TSI_MINUTE is treated as second (fixed in 42.2.4)

    Changed

    • Reduce the severity of the error log messages when an exception is re-thrown. The error will be thrown to caller to be dealt with so no need to log at this verbosity by pgjdbc PR 1187
    • Deprecate Fastpath API PR 903
    • Support parenthesis in {oj ...} JDBC escape syntax PR 1204
    • ubenchmark module moved pgjdbc/benchmarks repository due to licensing issues PR 1215
    • Include section on how to submit a bug report in CONTRIBUTING.md PR 951

    Fixed

    • getString for PGObject-based types returned "null" string instead of null PR 1154
    • Field metadata cache can be disabled via databaseMetadataCacheFields=0 PR 1052
    • Properly encode special symbols in passwords in BaseDataSource PR 1201
    • Adjust date, hour, minute, second when rounding nanosecond part of a timestamp PR 1212
    • perf: reduce memory allocations in query cache PR 1227
    • perf: reduce memory allocations in SQL parser PR 1230, PR 1233
    • Encode URL parameters in BaseDataSource PR 1201
    • Improve JavaDoc formatting PR 1236

    <!--more-->

    AlBundy33 (1):

    • fix: support parenthesis in {oj ...} JDBC escape syntax PR 865 38356e68

    AlexElin (3):

    Dave Cramer (3):

    Hari Babu Kommi (2):

    Jesper Pedersen (1):

    Jorge Solorzano (6):

    KimBisgaardDmi (1):

    Marc Slemko (1):

    Michele Mancioppi (1):

    Pavel Raiskup (1):

    • packaging: fix RPM build requirements 6bb72e69

    Sidi Mohamed EL AATIFI (1):

    Stephen Nelson (2):

    Vladimir Sitnikov (19):

    • reflect 42.2.2 release in readme.md b1581e99
    • fix: avoid NPE in PgConnection.finalize PR 1206 03a1441b
    • chore: update gettext plugin, sort po files eb5c8fdd
    • chore: sort messages in *.po files 10fc2fbb
    • chore: remove obsolete translations ed1eab9e
    • doc: add Russian translation to "No IOException expected..." eaa0acad
    • fix: adjust date, hour, minute, second when rounding timestamp PR 1212 4dc98be8
    • chore: remove ubenchmark module due to licensing issues PR 1215 88ec13bb
    • chore: remove ubenchmark from packaging/rpm as well a699965a
    • fix: support query timeouts exceeding 2147483 seconds (~25 days) PR 1224 b7fd9f3c
    • perf: improve performance of replacing JDBC {...} escapes PR 1230 177f63be
    • docs: use union merge strategy for CHANGELOG PR 1107 70189203
    • chore: use 5432 as default port when running code from IDE 5dc03f63
    • docs: use "PR 42" references instead of "PRPR 42" in the changelog (#1239) f4ae60ec
    • test: close of replication connection has not been fixed at backend side, so disable the test till 12.1 PR 1243 481460a3
    • perf: avoid string allocation for oid/rows parsing in command tag PR 1232 da831de5
    • docs: prepare changelog for 42.2.3 release c5f5d8d2
    • chore: fetch contributors' URL via GitHub API d7297984
    • docs: update site for 42.2.3

    bazzargh (1):

    benbenw (2):

    benoit (3):

    • perf: reduce memory allocations when JDBC escapes ({fn ...}) are used 2a1e0910
    • refactor: use singleArgumentFunctionCall in EscapedFunctions 191d84eb
    • perf: avoid BaseQueryKey.toString in CachedQuery.getSize PR 1227 669fc31e

    bpd0018 (1):

    Étienne BERSAC (1):

    Contributors to this release

    We thank the following people for their contributions to this release.

    AlBundy33

    AlexElin

    bazzargh

    benbenw

    benoit

    bpd0018

    Dave Cramer

    Étienne BERSAC

    Hari Babu Kommi

    Jesper Pedersen

    Jorge Solorzano

    KimBisgaardDmi

    Marc Slemko

    Michele Mancioppi

    Pavel Raiskup

    Sidi Mohamed EL AATIFI

    Stephen Nelson

    Vladimir Sitnikov

    Open source →
  11. 42.2.2 15 Mar 2018
    Release notes

    Added

    • Documentation on server-side prepared statements PR 1135

    Fixed

    • Avoid failure for insert ... on conflict...update for reWriteBatchedInserts=true case PR 1130
    • fix: allowEncodingChanges should allow set client_encoding=... PR 1125
    • Wrong data from Blob/Clob when mark/reset is used PR 971
    • Adjust XAException return codes for better compatibility with XA specification PR 782
    • Wrong results when single statement is used with different bind typesPR 1137
    • Support generated keys for WITH queries that miss RETURNING PR 1138
    • Support generated keys when INSERT/UPDATE/DELETE keyword is followed by a comment PR 1138
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.2 Released date: 2018-03-15 18:55:14 +0300 version: 42.2.2

    Added

    • Documentation on server-side prepared statements PR 1135

    Fixed

    • Avoid failure for insert ... on conflict...update for reWriteBatchedInserts=true case PR 1130
    • fix: allowEncodingChanges should allow set client_encoding=... PR 1125
    • Wrong data from Blob/Clob when mark/reset is used PR 971
    • Adjust XAException return codes for better compatibility with XA specification PR 782
    • Wrong results when single statement is used with different bind typesPR 1137
    • Support generated keys for WITH queries that miss RETURNING PR 1138
    • Support generated keys when INSERT/UPDATE/DELETE keyword is followed by a comment PR 1138

    <!--more-->

    Commits by author

    Dave Cramer (5):

    Jorge Solorzano (1):

    Pawel (1):

    Selene Feigl (1):

    • fix: wrong data from Blob/Clob when mark/reset is used PR 971 61e1c300

    Simon Stelling (1):

    • fix: handle Timestamp values with fractional seconds < 1 microsecond correctly in PreparedStatement arguments PR 1119 8ff2a617

    Vladimir Sitnikov (14):

    • docs: reflect 42.2.1 release in readme.md 1a4256b9
    • chore: make sure TEST_CLIENTS performs regular tests as well aa676bb3
    • chore: remove unused variable lastKnownTime in ConnectionFactoryImpl 48b98971
    • fix: ArrayIndexOutOfBoundsException when using the same SQL for regular and updateable resultset PR 1123 45c32bc6
    • fix: support insert ... on conflict...update for reWriteBatchedInserts=true PR 1130 1ca0c586
    • fix: allowEncodingChanges should allow set client_encoding=... PR 1125 af64ed2d
    • tests: UUID vs setString test PR 1133 5827858b
    • fix: UUID test for preferQueryMode=simple 44bb7f8d
    • fix: wrong results when a single statement is used with UNSPECIFIED types PR 1137 fcd1ea14
    • test: workaround DST issue in StatementTest#testDateFunctions af499625
    • docs: improve documentation and tests for server-side prepared statements PR 1135 4204f094
    • test: make testAlternatingBindType Java 6-compatible PR 1139 bcdd4273
    • fix: better support for RETURNING for WITH queries and queries with comments PR 1138 04e76661
    • chore: add contributor links to release script 2568d38e

    bpd0018 (3):

    chalda (1):

    • Adjust XAException return codes for better compatibility with XA specification PR 782 e5aab1cd

    trtrmitya (1):

    • fix: use Locale. Category. DISPLAY (~lc_messages) when selecting resource bundle. PR 1115 0e9dfce4

    Contributors to this release

    We thank the following people for their contributions to this release.

    Dave Cramer

    Jorge Solorzano

    Pawel

    Selene Feigl

    Simon Stelling

    Vladimir Sitnikov

    bpd0018

    chalda

    trtrmitya

    Open source →
  12. 42.2.1 25 Jan 2018
    Release notes

    Known issues

    • client_encoding has to be UTF8 even with allowEncodingChanges=true

    Changed

    • socksProxyHost is ignored in case it contains empty string PR 1079

    Fixed

    • Avoid connection failure when DateStyle is set to ISO (~PgBouncer) Issue 1080
    • Package scram:client classes, so SCRAM works when using a shaded jar PR 1091 1a89290e
    • reWriteBatchedInserts=true causes syntax error with ON CONFLICT Issue 1045 PR 1082
    • Avoid failure in getPGArrayType when stringType=unspecified PR 1036
    • For PostgreSQL 9.0+ return a complete list of keywords in DatabaseMetadata.getSQLKeywords() from pg_catalog.pg_get_keywords(). PR 940
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.1 Released date: 2018-01-25 19:30:35 +0300 version: 42.2.1

    Known issues

    • client_encoding has to be UTF8 even with allowEncodingChanges=true

    Changed

    • socksProxyHost is ignored in case it contains empty string PR 1079

    Fixed

    • Avoid connection failure when DateStyle is set to ISO (~PgBouncer) Issue 1080
    • Package scram:client classes, so SCRAM works when using a shaded jar PR 1091 1a89290e
    • reWriteBatchedInserts=true causes syntax error with ON CONFLICT Issue 1045 PR 1082
    • Avoid failure in getPGArrayType when stringType=unspecified PR 1036

    <!--more-->

    Commits by author

    AlexElin (1):

    Alexander Kjäll (1):

    • feat: add support for fetching 'TIMESTAMP(6) WITHOUT TIME ZONE' as LocalDate to getObject() PR 1083 09af4b23

    Dave Cramer (1):

    • fix: package scram:client classes, so SCRAM works when using a shaded jar PR 1091 1a89290e

    Ivan (2):

    JCzogalla (1):

    Jamie Pullar (1):

    • fix: getPGArrayType fails in when stringType=unspecified PR 1036 d5f1cf7c

    Jorge Solorzano (1):

    Pavel Raiskup (1):

    • packaging: update Fedora's CI dcbf70bc

    Vladimir Sitnikov (3):

    • docs: reflect 42.2.0 release in readme.md 6d02e958
    • fix: avoid connection failure when DateStyle is set to ISO PR 1081 e442db1f
    • fix: reWriteBatchedInserts=true causes syntax error with ON CONFLICT PR 1082 e133510e

    Contributors to this release

    We thank the following people for their contributions to this release.

    AlexElin

    Alexander Kjäll

    Dave Cramer

    Ivan

    JCzogalla

    Jamie Pullar

    Jorge Solorzano

    Pavel Raiskup

    Vladimir Sitnikov

    Open source →
  13. 42.2.0 17 Jan 2018
    Release notes

    Known issues

    • SCRAM does not work as scram:client library is not packaged
    • client_encoding has to be UTF8 even with allowEncodingChanges=true

    Added

    • Support SCRAM-SHA-256 for PostgreSQL 10 in the JDBC 4.2 version (Java 8+) using the Ongres SCRAM library. PR 842
    • Make SELECT INTO and CREATE TABLE AS return row counts to the client in their command tags. Issue 958 PR 962
    • Support Subject Alternative Names for SSL connections. PR 952
    • Support isAutoIncrement metadata for PostgreSQL 10 IDENTITY column. PR 1004
    • Support for primitive arrays PR#887 3e0491a
    • Implement support for get/setNetworkTimeout() in connections. PR 849
    • Make GSS JAAS login optional, add an option "jaasLogin" PR 922 see Connecting to the Database

    Changed

    • Improve behaviour of ResultSet.getObject(int, Class). PR 932
    • Parse CommandComplete message using a regular expression, allows complete catch of server returned commands for INSERT, UPDATE, DELETE, SELECT, FETCH, MOVE, COPY and future commands. PR 962
    • Use 'time with timezone' and 'timestamp with timezone' as is and ignore the user provided Calendars, 'time' and 'timestamp' work as earlier except "00:00:00" now maps to 1970-01-01 and "24:00:00" uses the system provided Calendar ignoring the user-provided one PR 1053
    • Change behaviour of multihost connection. The new behaviour is to try all secondaries first before trying the master PR 844.
    • Avoid reflective access to TimeZone.defaultTimeZone in Java 9+ PR 1002 fixes Issue 986

    Fixed

    • Make warnings available as soon as they are received from the server. This is useful for long running queries, where it can be beneficial to know about a warning before the query completes. PR 857
    • Use 00:00:00 and 24:00:00 for LocalTime.MIN/MAX. PR 992
    • Now the DatabaseMetaData.getFunctions() implementation complies with the JDBC docs. PR 918
    • Execute autosave/rollback savepoint via simple queries always to prevent "statement S_xx not exists" when autosaving fixes Issue #955
    • Received resultset tuples, but no field structure for them" when bind failure happens on 5th execution of a statement Issue 811

    Removed

    • Drop support for the (insecure) crypt authentication method. PR 1026

    Deprecated

    • Reintroduce Driver.getVersion for backward compatibility reasons, mark it as deprecated as application should not rely on it (regression since 42.0.0) 50d5dd3e
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.2.0 Released date: 2018-01-17 20:11:10 +0300 version: 42.2.0

    Known issues

    • SCRAM authentication does not work as scram client classes are not packaged
    • client_encoding has to be UTF8 even with allowEncodingChanges=true

    Added

    • Support SCRAM-SHA-256 for PostgreSQL 10 in the JDBC 4.2 version (Java 8+) using the Ongres SCRAM library. PR 842
    • Make SELECT INTO and CREATE TABLE AS return row counts to the client in their command tags. Issue 958 PR 962
    • Support Subject Alternative Names for SSL connections. PR 952
    • Support isAutoIncrement metadata for PostgreSQL 10 IDENTITY column. PR 1004
    • Support for primitive arrays PR 887 3e0491a
    • Implement support for get/setNetworkTimeout() in connections. PR 849
    • Make GSS JAAS login optional, add an option "jaasLogin" PR 922 see Connecting to the Database

    Changed

    • Improve behaviour of ResultSet.getObject(int, Class). PR 932
    • Parse CommandComplete message using a regular expression, allows complete catch of server returned commands for INSERT, UPDATE, DELETE, SELECT, FETCH, MOVE, COPY and future commands. PR 962
    • Use 'time with timezone' and 'timestamp with timezone' as is and ignore the user provided Calendars, 'time' and 'timestamp' work as earlier except "00:00:00" now maps to 1970-01-01 and "24:00:00" uses the system provided Calendar ignoring the user-provided one PR 1053
    • Change behaviour of multihost connection. The new behaviour is to try all secondaries first before trying the master PR 844.
    • Avoid reflective access to TimeZone.defaultTimeZone in Java 9+ PR 1002 fixes Issue 986

    Fixed

    • Make warnings available as soon as they are received from the server. This is useful for long running queries, where it can be beneficial to know about a warning before the query completes. PR 857
    • Use 00:00:00 and 24:00:00 for LocalTime. MIN/MAX. PR 992
    • Now the DatabaseMetaData.getFunctions() implementation complies with the JDBC docs. PR 918
    • Execute autosave/rollback savepoint via simple queries always to prevent "statement S_xx not exists" when autosaving fixes Issue #955
    • Received resultset tuples, but no field structure for them" when bind failure happens on 5th execution of a statement Issue 811

    Removed

    • Drop support for the (insecure) crypt authentication method. PR 1026

    Deprecated

    • Reintroduce Driver.getVersion for backward compatibility reasons, mark it as deprecated as application should not rely on it (regression since 42.0.0) 50d5dd3e
    • slave and preferSlave values for the targetServerType connection property have been deprecated in favour of secondary and preferSecondary respectively.

    <!--more-->

    AlexElin (9):

    Álvaro Hernández Tortosa (1):

    Barnabas Bodnar (1):

    • fix: don't attempt to read a SQLXML more than once PR 965 8f5e245

    Brett Okken (1):

    Brett Wooldridge (1):

    • Fixes #638 Implement support for get/setNetworkTimeout() PR 849 8a30044

    Chen Huajun (1):

    • fix: improve multihost connection for preferSlave case (verify expired hosts before connecting to cached master) PR 844 c6fec34

    Dave Cramer (11):

    • Update thread safety status of the driver to reflect reality; that being that the driver is not thread safe PR 928 ad47aba
    • fix: use 00:00:00 and 24:00:00 for LocalTime. MIN/MAX PR 992 f2d8ec5
    • fix: support Subject Alternative Names for SSL connections PR 952 2dcb91e
    • test: Appveyor configuration PR 1000 059628f
    • add test for identity, fix isAutoincrement in postgresql 10 fixes #130 PR 1004 2f6633b
    • elaborate on sslmode options PR 1054 aa7a420
    • prefer the word secondary over slave PR 1063 2e8c2b6
    • Revert "refactor: replace some usages of initCause PR 1037" (#1064) e6a1ecc
    • prefer secondary over slave referring to standby or secondary servers PR 1070 32c53902
    • first pass at release notes and some fixes to previous notes PR 1041 a8260f5
    • Update 2018-01-16-42.2.0-release.md b36867f

    Hugh Cole-Baker (1):

    Jeff Klukas (1):

    Joe Kutner (1):

    • fix: Added support for socksNonProxyHosts property PR 975 (#985) 9813c68

    Jorge Solorzano (13):

    Magnus (1):

    • fix: make warnings available as soon as they are received PR 857 83dd5fe

    Magnus Hagander (1):

    MichaelZg (1):

    • fix: trim trailing zeros in timestamp strings returned in binary mode PR 896 d28deff

    Michael Glaesemann (1):

    • refactor: use TypeInfo getPGArrayType instead of munging type name PR 913 634e157

    Pavel Raiskup (2):

    • packaging: rpm_ci: add missing BuildRequires 4e0cdc1
    • packaging: rpm_ci: don't shade scram jar into pgjdbc 1fd6c4f

    Philippe Marschall (2):

    Piyush Sharma (1):

    • doc: Added quotes to URL in '@see' tag over org.postgresql.sspi. NTDSAPI#DsMakeSpnW for syntactic correctness PR 926 29f574a

    Sehrope Sarkuni (1):

    Thach Hoang (2):

    • Update ServerVersionTest to actually compare versions PR 1015 cccd6cd
    • fix: always return Short[] for java.sql. Array.getArray() on smallint[] PR 1017 279fb43

    Vladimir Sitnikov (23):

    • fix: reintroduce Driver.getVersion for backward compatibility reasons PR 905 50d5dd3
    • style: make PGReplicationStream, LargeObject implement AutoCloseable for Java 7+ PR 1016 9f07c9a
    • fix: prevent statement hang in case close() called when query is in progress PR 1022 04c5dbb
    • fix: synchronize Statement#result field access to make #close() more thread-safe 4139248
    • fix: avoid reflective access to TimeZone.defaultTimeZone in Java 9+ PR 1002 fd0eeee
    • fix: throw TOO_MANY_RESULTS (0100E) instead of "PgResultSet: tuples must be non-null" 0d31d46
    • fix: "Received resultset tuples, but no field structure for them" when bind failure happens on 5th execution of a statement PR 811 082d009
    • tests: correct assertion to use proper column 63918eb
    • fix: add type parameter so code is Java 6/7 compatible 1361c52
    • chore: avoid non-blocking IO for stdout to workaround "stdout: write error" in Travis 12bb084
    • test: run Travis tests with non-default time zone a3982b4
    • fix: execute autosave/rollback savepoint via simple queries always to prevent "statement S_xx not exists" when autosaving PR 955 684a699
    • fix: use 'time with time zone' and 'timestamp with time zone' values as is and avoid computation with user-provided/default Calendars e8c43f3
    • test: refactor SetObject310Test to use proper assertion messages and use less statements (make it faster) be06946
    • refactor: factor out receiveParameterStatus so all the ParameterStatus messages are handled in the same way a94cfea
    • fix: add Provide-Capability OSGi manifest PR 1029 236805b
    • chore: update version to 42.2.0-SNAPSHOT to reflect the next release version e27ee74
    • packaging: add missing maven-clean-plugin dependency a2ed9b5
    • chore: introduce release via Travis acb9bdd
    • chore: skip CI builds for tags; skip Fedora and extendedCacheEverything jobs when building pull requests 3ba3b63
    • fix: avoid NPE from getObject(..., Date.class) and getObject(..., Calendar.class) on null timestamps PR 1071 eb33c4c
    • test: add "as" to test queries so they work with PostgreSQL 8.3 71b3c11
    • docs: make pgjdbc's javadocs to inherit base Java documentation eb406dc

    Zemian Deng (3):

    • refactor: use PGProperty enum instead of text ref for targetServerType, hostRecheckSeconds, loadBalanceHosts PR 912 (#915) b0cfc33
    • fix: correct javadoc on PGResultSetMetaData.getFormat PR 917 cd77693
    • fix: Correct DatabaseMetaData.getFunctions() implementation PR 918 8884202

    bpd0018 (3):

    djydewang (1):

    • style: disallowing user to use incomplete fully qualified Check names in config file PR 961 3286c8c

    eperez (1):

    mjanczykowski (1):

    rnveach (1):

    • style: remove deprecated maxLineLength from LeftCurlyCheck PR 904 5f083d1

    steinarb (1):

    • fix: add Provide-Capability org.osgi.service.jdbc. DataSourceFactory to OSGi manifest Issue 1029

    zapov (1):

    • fix: avoid integer overflow when sending large arguments PR 946 266ed61

    Contributors to this release

    We thank the following people for their contributions to this release.

    AlexElin

    Álvaro Hernández Tortosa

    Barnabas Bodnar

    Brett Okken

    Brett Wooldridge

    Chen Huajun

    Dave Cramer

    Hugh Cole-Baker

    Jeff Klukas

    Joe Kutner

    Jorge Solorzano

    Magnus

    Magnus Hagander

    MichaelZg

    Michael Glaesemann

    Pavel Raiskup

    Philippe Marschall

    Piyush Sharma

    Sehrope Sarkuni

    Thach Hoang

    Vladimir Sitnikov

    Zemian Deng

    bpd0018

    djydewang

    eperez

    mjanczykowski

    rnveach

    zapov

    Open source →
  14. 42.1.4 01 Aug 2017
    Release notes

    Changed

    • Statements with non-zero fetchSize no longer require server-side named handle. This might cause issues when using old PostgreSQL versions (pre-8.4)+fetchSize+interleaved ResultSet processing combo. Issue 869
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.1.4 Released date: 2017-08-01 20:00:00 +0300 version: 42.1.4

    Changed

    • Statements with non-zero fetchSize no longer require server-side named handle. This might cause issues when using old PostgreSQL versions (pre-8.4)+fetchSize+interleaved ResultSet processing combo. Issue 869

    <!--more-->

    Commits by author

    AlexElin (4):

    Dave Cramer (2):

    Michael Glaesemann (4):

    • test: assume minimum server version 8.3 testing autosave with ALTER 77ee528d
    • test: assume minimum server version 8.3 when testing with uuid ff2717e4
    • refactor: remove unused import 8afe856e
    • test: assume integer datetimes for timestamp tests PR 873 8287e7f9

    Vladimir Sitnikov (7):

    • docs: prevent "<!--more-->" from being displayed on the changelog page e1747693
    • doc: fix anchors for "contributors to this release" c1d743f2
    • test: fix StringTypeParameterTest to skip preferQueryMode=simple beca1692
    • chore: install PostgreSQL 9.1 to Trusty builds via apt, and use Precise for Java 6 e960f237
    • test: make StringTypeParameterTest 8.3+ since 8.2 misses enum types PR 882 ed0014cc
    • fix: named statements were used when fetchSize was non-zero and prepareThreshold=0 PR 870 f0deabf7
    • test: skip ConcurrentStatementFetch for PostgreSQL < 8.4 PR 884 5334cb6e

    Contributors to this release

    We thank the following people for their contributions to this release.

    AlexElin

    Dave Cramer

    Michael Glaesemann

    Vladimir Sitnikov

    Open source →
  15. 42.1.3 14 Jul 2017
    Release notes

    Fixed

    • Fix NPE in PreparedStatement.executeBatch in case of empty batch (regression since 42.1.2). PR 867
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.1.3 Released date: 2017-07-14 10:49:13 +0300 version: 42.1.3

    Fixed

    • Fix NPE in PreparedStatement.executeBatch in case of empty batch (regression since 42.1.2). PR 867

    <!--more-->

    Commits by author

    Vladimir Sitnikov (2):

    • doc: ensure changelog uses %Y-%m-%d format, not %Y-%d-%m 5d585aac
    • fix: NPE in PreparedStatement.executeBatch in case of empty batch PR 867 7514552d

    Contributors to this release

    We thank the following people for their contributions to this release.

    Vladimir Sitnikov

    Open source →
  16. 42.1.2 12 Jul 2017
    Release notes

    Changed

    • Better logic for returning keyword detection. Previously, pgjdbc could be defeated by column names that contain returning, so pgjdbc failed to "return generated keys" as it considered statement as already having returning keyword PR 824 201daf1d
    • Use server-prepared statements for batch inserts when prepareThreshold>0. Note: this enables batch to use server-prepared from the first executeBatch() execution (previously it waited for prepareThreshold executeBatch() calls) abc3d9d7

    Fixed

    • Replication API: fix issue in #834 setting statusIntervalUpdate causes high CPU load. PR 835 59236b74

    Regressions

    • NPE in PreparedStatement.executeBatch in case of empty batch. Fixed in 42.1.3
    Open source →
    Release notes

    title: PostgreSQL JDBC Driver 42.1.2 Released date: 2017-07-12 18:11:06 +0300 version: 42.1.2

    Changed

    • Better logic for returning keyword detection. Previously, pgjdbc could be defeated by column names that contain returning, so pgjdbc failed to "return generated keys" as it considered statement as already having returning keyword PR 824 201daf1d
    • Use server-prepared statements for batch inserts when prepareThreshold>0. Note: this enables batch to use server-prepared from the first executeBatch() execution (previously it waited for prepareThreshold executeBatch() calls) abc3d9d7

    Fixed

    • Replication API: fix issue in #834 setting statusIntervalUpdate causes high CPU load. PR 835 59236b74

    Regressions

    • NPE in PreparedStatement.executeBatch in case of empty batch. Fixed in 42.1.3

    <!--more-->

    Commits by author

    AlexElin (1):

    Dave Cramer (8):

    • Initial support of partitioned tables via JDBC metadata API PR 823 9c3471f2
    • fix javadoc complaints and some small edits to replication comments PR 832 2d0bfceb
    • fix issue #834 setting statusIntervalUpdate causes high CPU load \ PR 835 59236b74
    • fix issue #838 make sure we don't get columns that are dropped PR 840 464a2d43
    • add missing connection documentation, fix spelling PR 846 cd400f6f
    • more spelling mistakes for preferQueryMode PR 850 73bc3c1b
    • fix formatting of section on failover, still not perfect but better PR 852 9f722014
    • small reformat to clarify read and write connections PR 854 551d71b6

    Jorge Solorzano (3):

    Robert 'Bobby' Zenz (1):

    • fix: Add fallback to setObject(int, Object) for Number PR 812 5b9edb7d

    Vladimir Gordiychuk (1):

    Vladimir Sitnikov (7):

    • chore: implement a script to stage pgjdbc, pgdjbc-jre7, pgjdbc-jre6 artifacts 15d78839
    • doc: fix 42.1.0.jre8->jre6 typo PR 42 88942b58
    • fix: use server-prepared statements for batch inserts when prepareThreshold>0 abc3d9d7
    • fix: better parsing for returning keyword PR 824 201daf1d
    • docs: build index, changelog pages from _posts/... to reduce release overhead d6fe07d7
    • chore: make ./release_notes.sh create docs/_posts/$DATE_YMD-$VERS-release.md file e00d4571
    • docs: add 42.1.2 release notes 6f127a61

    Contributors to this release

    We thank the following people for their contributions to this release.

    AlexElin

    Dave Cramer

    Jorge Solorzano

    Robert 'Bobby' Zenz

    Vladimir Gordiychuk

    Vladimir Sitnikov

    Open source →
  17. 42.1.1 05 May 2017
    Release notes

    Fixed

    • Fix infinite dates that might be corrupted when transferred in binary for certain JREs. For instance, 5881610-07-11 instead of infinity. 1e5bf563
    Open source →
    Release notes

    title: "PostgreSQL JDBC Driver 42.1.1 Released" date: 2017-05-05 00:00:00 +0300 version: 42.1.1

    Fixed

    • Fix infinite dates that might be corrupted when transferred in binary for certain JREs. For instance, 5881610-07-11 instead of infinity. 1e5bf563

    <!--more-->

    Commits by author

    Vladimir Sitnikov (2):

    • fix: infinite dates might be corrupted when transferred in binary for certain JREs 1e5bf563
    • chore: print "include notable changes" to the generated changelog 6bc4fe07

    Contributors to this release

    We thank the following people for their contributions to this release.

    Vladimir Sitnikov

    Open source →
  18. 42.1.0 04 May 2017
    Release notes

    Added

    • Support fetching a REF_CURSOR using getObject PR 809

    Fixed

    • Fix data being truncated in setCharacterStream (bug introduced in 42.0.0) PR 802
    • Fix calculation of lastReceiveLSN for logical replication PR 801
    • Make sure org.postgresql.Driver is loaded when accessing though DataSource interface Issue 768

    Regressions

    • There's no 42.1.0.jre6 version due to infinity handling bug. Fixed in 42.1.1.jre6
    Open source →
    Release notes

    title: "PostgreSQL JDBC Driver 42.1.0 Released" date: 2017-05-04 00:00:00 +0300 version: 42.1.0

    Added

    • Support fetching a REF_CURSOR using getObject PR 809

    Fixed

    • Fix data being truncated in setCharacterStream (bug introduced in 42.0.0) PR 802
    • Fix calculation of lastReceiveLSN for logical replication PR 801
    • Make sure org.postgresql. Driver is loaded when accessing though DataSource interface Issue 768

    Regressions

    • There's no 42.1.0.jre6 version due to infinity handling bug. Fixed in 42.1.1.jre6

    <!--more-->

    Commits by author

    Alexander Kjäll (1):

    Daniel Migowski (1):

    • feat: improve waiting for notifications by providing a timeout option PR 778 a7e0c83b

    Dave Cramer (4):

    Jacques Fuentes (1):

    James (1):

    • fix: use SQLWarning(String reason) constructor for correct DriverManager PR 751 74a426b9

    Joe Kutner (1):

    • fix: Only resolve hostname if not using a SOCKS proxy PR 774 480b0cf1

    Jorge Solorzano (3):

    Philippe Marschall (1):

    Robert Zenz (1):

    • fix: function calls without parameters do not require parentheses 2958cc22

    Vladimir Gordiychuk (2):

    Vladimir Sitnikov (3):

    • fix: make sure org.postgresql. Driver is loaded when accessing though DataSource interface PR 768 9c80adc2
    • refactor: add encoding, fix expected/actual, use proper constructor 77cace40
    • fix: infinity handling for java.time types PR 789 f375701b

    slmsbrhgn (1):

    • bug: fix data being truncated in setCharacterStream (the bug introduced in 42.0.0) PR 802 28c98418

    Contributors to this release

    We thank the following people for their contributions to this release.

    Alexander Kjäll

    Daniel Migowski

    Dave Cramer

    Jacques Fuentes

    James

    Joe Kutner

    Jorge Solorzano

    Philippe Marschall

    Robert Zenz

    Vladimir Gordiychuk

    Vladimir Sitnikov

    slmsbrhgn

    Open source →
  19. 42.0.0 18 Feb 2017
    Release notes

    Added

    Changed

    • Version bumped to 42.0.0 to avoid version clash with PostgreSQL version and follow a better semantic versioning. 46634923
    • Ensure executeBatch() can be used with pgbouncer. Previously pgjdbc could use server-prepared statements for batch execution even with prepareThreshold=0. Issue 742
    • Error position is displayed when SQL has unterminated literals, comments, etc. Issue 688
    • Strict handling of accepted values in getBoolean and setObject(BOOLEAN), now it follows PostgreSQL accepted values, only 1 and 0 for numeric types are accepted (previously !=0 was true). PR 732
    • Return correct versions and name of the driver. PR 668

    Removed

    • Support for PostgreSQL versions below 8.2 was dropped. PR 661

    Deprecated

    • Deprecated PGPoolingDataSource, instead of this class you should use a fully featured connection pool like HikariCP, vibur-dbcp, commons-dbcp, c3p0, etc. PR 739

    Regressions

    • Data truncated in setCharacterStream. Fixed in 42.1.0
    • No suitable driver found for jdbc:postgresql when using a DataSource implementation. Fixed in 42.1.0
    Open source →
    Release notes

    title: "PostgreSQL JDBC Driver 42.0.0 Released" date: 2017-02-20 00:00:00 +0300 version: 42.0.0

    Added

    Changed

    • Version bumped to 42.0.0 to avoid version clash with PostgreSQL version and follow a better semantic versioning. 46634923
    • Ensure executeBatch() can be used with pgbouncer. Previously pgjdbc could use server-prepared statements for batch execution even with prepareThreshold=0. Issue 742
    • Error position is displayed when SQL has unterminated literals, comments, etc. Issue 688
    • Strict handling of accepted values in getBoolean and setObject(BOOLEAN), now it follows PostgreSQL accepted values, only 1 and 0 for numeric types are accepted (previously !=0 was true). PR 732
    • Return correct versions and name of the driver. PR 668

    Removed

    • Support for PostgreSQL versions below 8.2 was dropped. PR 661

    Deprecated

    • Deprecated PGPoolingDataSource, instead of this class you should use a fully featured connection pool like HikariCP, vibur-dbcp, commons-dbcp, c3p0, etc. PR 739

    Regressions

    • Data truncated in setCharacterStream. Fixed in 42.1.0
    • No suitable driver found for jdbc:postgresql when using a DataSource implementation. Fixed in 42.1.0

    You may have noticed the change in the versioning of the driver, you can read the FAQ for more information.

    <!--more-->

    Commits by author

    AlexElin (6):

    Eric McCormack (1):

    Jordan Lewis (1):

    Jorge Solorzano (22):

    Pavel Raiskup (3):

    • fix: sync with latest Fedora PR 637 a29ad80b
    • packaging: rpm: update srpm generator 5c3c9239
    • packaging: rpm_ci: use curl -L to download rawhide logs c8125cff

    Philippe Marschall (3):

    Roman Ivanov (2):

    • config: move version of checkstyle to property PR 723 9ef7d6f1
    • chore: upgrade checkstyle to 7.4, make checkstyle version configurable via property PR 725 e1a25782

    Steve Ungerer (1):

    • fix: ensure executeBatch() does not use server-side prepared statements when prepareThreshold=0 PR 690 aca26a07

    Trygve Laugstøl (1):

    • feat: connect the socket only if the socket factory created an unconnected socket PR 587 f75572be

    Vladimir Gordiychuk (4):

    Vladimir Sitnikov (12):

    • fedora: add BuildRequires: classloader-leak-test-framework 64b6750c
    • tests: remove Class.forName(..driver..) from test code c99507b5
    • test: add CI tests against PostgreSQL 8.2 PR 659 63ee60e2
    • feat: display error position when SQL has unterminated literals, comments, etc PR 688 8a95d991
    • feat: add support for PreparedStatement.setCharacterStream(int, Reader) PR 671 ee4c4265
    • chore: update next version to 42.0.0-SNAPSHOT 46634923
    • refactor: add CallableQueryKey#equals override 401c51a1
    • doc: correct wording in readme regarding PostgreSQL versions used in pgjdbc regression testing 60391d75
    • fix: revert ExpressionProperties to Properties in BaseDataSource 989b4d23
    • fix: correct edge cases for setCharacterStream(int, Reader) f1190d8c
    • test: add SharedTimerClassLoaderLeakTest to the regular test suite b3553276
    • refactor: wrap more log statements with isLoggable check 07d225ec

    bd-infor (1):

    Contributors to this release

    We thank the following people for their contributions to this release.

    AlexElin

    bd-infor

    Eric McCormack

    Jordan Lewis

    Jorge Solorzano

    Pavel Raiskup

    Philippe Marschall

    Roman Ivanov

    Steve Ungerer

    Trygve Laugstøl

    Vladimir Gordiychuk

    Vladimir Sitnikov

    Open source →
  20. 9.4.1212 02 Nov 2016

    Nothing published for this version

  21. 9.4.1211 18 Sep 2016

    Nothing published for this version

  22. 9.4.1210 06 Sep 2016

    Nothing published for this version

  23. 9.4.1209 15 Jul 2016

    Nothing published for this version

  24. 9.4.1208 19 Feb 2016

    Nothing published for this version

  25. 9.4.1207 22 Dec 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive