[pgjdbc/pgjdbc] 8ad48a: fix: preserve unquoted unicode whitespace in array...

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

[pgjdbc/pgjdbc] 8ad48a: fix: preserve unquoted unicode whitespace in array...

От:
Brett Okken <noreply@github.com>
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 8ad48a611f0622f75e896f79d6a0a733ef3d1028
      https://github.com/pgjdbc/pgjdbc/commit/8ad48a611f0622f75e896f79d6a0a733ef3d1028
  Author: Brett Okken 
  Date:   2020-08-11 (Tue, 11 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

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

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

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




FAQ