[pgjdbc/pgjdbc] e442db: fix: avoid connection failure when DateStyleis se... - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject [pgjdbc/pgjdbc] e442db: fix: avoid connection failure when DateStyleis se...
Date
Msg-id 5a64be0b7365b_52e92ad23cbc5c08926f@hookshot-fe-cace476.cp1-iad.github.net.mail
Whole thread Raw
List pgsql-jdbc
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: e442db1f064c78372f8312d65faee30842a68aea
      https://github.com/pgjdbc/pgjdbc/commit/e442db1f064c78372f8312d65faee30842a68aea
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-01-21 (Sun, 21 Jan 2018)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc2/DateStyleTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java

  Log Message:
  -----------
  fix: avoid connection failure when DateStyle is set to ISO (#1081)

Default PostgreSQL configuration is DateStyle='iso, dmy', however pgjdbc should not raise errors
if DateStyle is just ISO

Note: PostgreSQL prints DateStyle value in upper case, and toUpperCase
was added just in case.

fixes #1080



pgsql-jdbc by date:

Previous
From: praiskup
Date:
Subject: [pgjdbc/pgjdbc]
Next
From: Stefan Tzeggai
Date:
Subject: Regression in 42.2.0? "The server''s DateStyle parameter was changedto ISO. The JDBC driver requires DateStyle to begin with ISO for correctoperation. "