[pgjdbc/pgjdbc] 4fef49: fix: preserve unquoted unicode whitespace in array...

Поиск
Список
Период
Сортировка
Искать

[pgjdbc/pgjdbc] 4fef49: fix: preserve unquoted unicode whitespace in array...

От:
Brett Okken <noreply@github.com>
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 4fef49d3e343d8e98fd5533fc35f73b9e7a8fcb5
      https://github.com/pgjdbc/pgjdbc/commit/4fef49d3e343d8e98fd5533fc35f73b9e7a8fcb5
  Author: Brett Okken 
  Date:   2020-08-10 (Mon, 10 Aug 2020)

  Changed paths:
    M CHANGELOG.md
    M pgjdbc/src/main/java/org/postgresql/core/Parser.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/ArrayDecoding.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ArrayTest.java

  Log Message:
  -----------
  fix: preserve unquoted unicode whitespace in array literals (#1266)

* fix: don't ignore unquoted non-ascii whitespace

The postgresql backend only quotes ascii whitespace.
https://github.com/pgjdbc/pgjdbc/issues/1257


* fix: don't ignore unquoted non-ascii whitespace

add comment to existing isSpace method
change from switch to chained ORs

* test: fix comment in ArrayTest.testDirectFieldString

* fix: revert spaces in array literal

* add changelog entry

* fix: don't ignore unquoted non-ascii whitespace

add test showing inner white spaces not dropped on unquoted strings by
backend.

Co-authored-by: Vladimir Sitnikov 
Co-authored-by: BO8979 




FAQ