From: stefan.hanenberg@googlemail.com
To: pgsql-bugs@postgresql.org
Cc: stefan.hanenberg@googlemail.com
Subject: BUG #14883: Syntax SQL error (42601), but should be a different error no
Date: Tue, 31 Oct 2017 00:36:01 +0000
Message-ID: <20171031003601.17181.3817@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14883
Logged by: Stefan Hanenberg
Email address: stefan.hanenberg@googlemail.com
PostgreSQL version: 10.0
Operating system: Windows 10/64
Description:
I am not 100% sure whether this is really a bug, I report it anyway.
The following SQL statement leads to an error 42601 (syntax error), although
the error is not a syntax error.
create table t1 (a integer,b integer);
create table t2 (a integer,b integer,c integer);
select * from t1 union select * from t2;
We are currently running automated tests on hundreds of thousands SQL in
order to check, what kind of errors they contain. It is really problematic
for us that the error is a 42601 error, although it seems rather as if it is
a type error.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: stefan.hanenberg@googlemail.com
Subject: Re: BUG #14883: Syntax SQL error (42601), but should be a different error no
In-Reply-To: <20171031003601.17181.3817@wrigleys.postgresql.org>
References: <20171031003601.17181.3817@wrigleys.postgresql.org>
* 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