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

From: Dave Cramer <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 50d6ab: fix; do not add double quotes to identifiers alrea...
Date: 2021-10-10 13:45:06
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/72fb0a-50d6ab@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 50d6aba9dcb3be0df7ea39abce1b23b6d8367fa8
https://github.com/pgjdbc/pgjdbc/commit/50d6aba9dcb3be0df7ea39abce1b23b6d8367fa8
Author: Dave Cramer <davecramer(at)gmail(dot)com>
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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2021-10-10 18:56:24 [pgjdbc/pgjdbc] aa4b49: create snapshot build (#2293)
Previous Message Sehrope Sarkuni 2021-10-08 13:37:24 [pgjdbc/pgjdbc] 48e80a: test: Fixes ArrayTest to skip jsonb tests on older...