From: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] e13351: fix: reWriteBatchedInserts=true causes syntax erro...
Date: Tue, 23 Jan 2018 07:00:04 -0800
Message-ID: <5a674df471557_2e902ade84567c04650df@hookshot-fe-6b2eebc.cp1-iad.github.net.mail> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: e133510e70114db128784911b6790b5690d77320
https://github.com/pgjdbc/pgjdbc/commit/e133510e70114db128784911b6790b5690d77320
Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Date: 2018-01-23 (Tue, 23 Jan 2018)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/Parser.java
M pgjdbc/src/test/java/org/postgresql/core/ParserTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BaseTest4.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BatchedInsertReWriteEnabledTest.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/UpsertTest.java
Log Message:
-----------
fix: reWriteBatchedInserts=true causes syntax error with ON CONFLICT (#1082)
INSERT into ... VALUES(...),(...),(...) ON CONFLICT (id) ... confused parser since it considered braces after on conflict to be a part of VALUES clause.
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: sitnikov.vladimir@gmail.com
Subject: Re: [pgjdbc/pgjdbc] e13351: fix: reWriteBatchedInserts=true causes syntax erro...
In-Reply-To: <5a674df471557_2e902ade84567c04650df@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>
References: <5a674df471557_2e902ade84567c04650df@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>
* 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