From: Eric Peterson <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 82510e: RETURNING clause mistakenly added to CREATE and AL...
Date: Mon, 26 Apr 2021 12:26:47 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/08e979-82510e@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 82510ed6da8733659f5a2560f029e3cded7b1d66
https://github.com/pgjdbc/pgjdbc/commit/82510ed6da8733659f5a2560f029e3cded7b1d66
Author: Eric Peterson <elpete@users.noreply.github.com>
Date: 2021-04-26 (Mon, 26 Apr 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/Parser.java
M pgjdbc/src/main/java/org/postgresql/core/SqlCommandType.java
M pgjdbc/src/test/java/org/postgresql/core/ParserTest.java
Log Message:
-----------
RETURNING clause mistakenly added to CREATE and ALTER table statements (#2119)
* Add tests to show how ON DELETE and ON UPDATE clauses fail the parser.
* Add two more failing tests showing alter fails as well.
* Attempt to fix tests by extending the parser to be aware of CREATE and ALTER statements.
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] 82510e: RETURNING clause mistakenly added to CREATE and AL...
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/08e979-82510e@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/08e979-82510e@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