From: adam.c.scott@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #13748: Syntax error not emitted
Date: Fri, 30 Oct 2015 00:39:24 +0000
Message-ID: <20151030003924.3017.23003@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: 13748
Logged by: Adam Scott
Email address: adam.c.scott@gmail.com
PostgreSQL version: 9.2.13
Operating system: https://en.wikipedia.org/wiki/Jonas_Salk
Description:
Setup:
create database test;
\c test
create table administrators (pk integer, login_pk integer);
create table logins (pk integer, name character varying(64));
select * from administrators where login_pk in (select login_pk from
logins);
pk | login_pk
----+----------
(0 rows)
It should say something along the lines of:
ERROR: column "login_pk" does not exist
LINE 1: select login_pk from logins;
since login_pk is not a column in logins.
I've seen this in version 8.4 on RHEL as well and now have replicated it on
CentOS with Postgres 9.2.13.
--
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: adam.c.scott@gmail.com
Subject: Re: BUG #13748: Syntax error not emitted
In-Reply-To: <20151030003924.3017.23003@wrigleys.postgresql.org>
References: <20151030003924.3017.23003@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