BUG #6490: Not checking column existence in sub query - Mailing list pgsql-bugs

From anisimovt@gmail.com
Subject BUG #6490: Not checking column existence in sub query
Date
Msg-id E1S1yvr-0002PZ-2P@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #6490: Not checking column existence in sub query
List pgsql-bugs
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=20
Description:=20=20=20=20=20=20=20=20

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;

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6488: Installation instructions slightly wrong.
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: BUG #6490: Not checking column existence in sub query