[pgjdbc/pgjdbc] 50d6ab: fix; do not add double quotes to identifiers alrea...

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

[pgjdbc/pgjdbc] 50d6ab: fix; do not add double quotes to identifiers alrea...

От:
Dave Cramer <noreply@github.com>
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 50d6aba9dcb3be0df7ea39abce1b23b6d8367fa8
      https://github.com/pgjdbc/pgjdbc/commit/50d6aba9dcb3be0df7ea39abce1b23b6d8367fa8
  Author: Dave Cramer 
  Date:   2021-10-10 (Sun, 10 Oct 2021)

  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/core/CachedQueryCreateAction.java
    M pgjdbc/src/main/java/org/postgresql/core/Parser.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/ds/common/BaseDataSource.java
    M pgjdbc/src/test/java/org/postgresql/core/ParserTest.java
    M pgjdbc/src/test/java/org/postgresql/core/ReturningParserTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/CompositeQueryParseTest.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc3/SqlCommandParseTest.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc3/TestReturning.java

  Log Message:
  -----------
  fix; do not add double quotes to identifiers already double quoted fixes Issue #2223 (#2224)

* fix; do not add double quotes to identifiers already double quoted fixes Issue #2223

* add test case for quoted identifier

* Added tests for mixed case columns in the returning clause

* Add a property QUOTE_RETURNING_IDENTIFIERS which determines if we put double quotes
around identifiers that are provided in the returning array.

There are some ORMs that now quote all identifiers and if we in turn
quote them this will cause an error.

* update docs for quoteReturning

* Remove unnecessary change

* Unnecessary change




FAQ