pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 50d6ab: fix; do not add double quotes to identifiers alrea...
Date: Sun, 10 Oct 2021 06:45:06 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/72fb0a-50d6ab@github.com> (raw)

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







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/72fb0a-50d6ab@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2F72fb0a-50d6ab@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/72fb0a-50d6ab@github.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] 50d6ab: fix; do not add double quotes to identifiers alrea...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/72fb0a-50d6ab@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/72fb0a-50d6ab@github.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox