From: anisimovt@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6490: Not checking column existence in sub query
Date: Mon, 27 Feb 2012 11:39:55 +0000
Message-ID: <E1S1yvr-0002PZ-2P@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6490
Logged by: Timofey Anisimov
Email address: anisimovt@gmail.com
PostgreSQL version: 9.1.2
Operating system: Linux
Description:
SELECT * FROM table1 where col1 in (select col2 from table2)
if col2 exist in table1 and not exist in table2 there will be no error and
query output all rows from table1;
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: anisimovt@gmail.com
Subject: Re: BUG #6490: Not checking column existence in sub query
In-Reply-To: <E1S1yvr-0002PZ-2P@wrigleys.postgresql.org>
References: <E1S1yvr-0002PZ-2P@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