From: | Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | [pgjdbc/pgjdbc] 04e766: fix: better support for RETURNING for WITH queries... |
Date: | 2018-03-14 14:48:33 |
Message-ID: | 5aa9364134c1c_67872b109f37fc1449294@hookshot-fe-7191cb1.cp1-iad.github.net.mail |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 04e76661586b54157a1220552c005569231388a9
https://github.com/pgjdbc/pgjdbc/commit/04e76661586b54157a1220552c005569231388a9
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2018-03-14 (Wed, 14 Mar 2018)
Changed paths:
M CHANGELOG.md
M pgjdbc/src/main/java/org/postgresql/core/Parser.java
M pgjdbc/src/main/java/org/postgresql/core/SqlCommand.java
M pgjdbc/src/test/java/org/postgresql/core/ParserTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc3/CompositeQueryParseTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc3/GeneratedKeysTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
A pgjdbc/src/test/java/org/postgresql/test/jdbc3/SqlCommandParseTest.java
Log Message:
-----------
fix: better support for RETURNING for WITH queries and queries with comments (#1138)
1) pgjdbc ignored to add RETURNING to WITH queries even though it makes sense.
2) `insert/*comment*/` was not treated as `insert` statement, thus the driver did not add `returning`.
fixes #1104
From | Date | Subject | |
---|---|---|---|
Next Message | Vladimir Sitnikov | 2018-03-15 15:25:32 | [pgjdbc/pgjdbc] ad7fd7: docs: release notes for 42.2.2 (#1142) |
Previous Message | Vladimir Sitnikov | 2018-03-11 18:05:16 | [pgjdbc/pgjdbc] bcdd42: test: make testAlternatingBindType Java 6-compatib... |