Re: [BUGS] BUG #14514: Bug in Subquery

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [BUGS] BUG #14514: Bug in Subquery
Дата
Msg-id CAKFQuwZJ+Wi8E5wP4PZSgFP1mft16Q7kvjStT-MvzhE0M6Avpg@mail.gmail.com
обсуждение исходный текст
Ответ на [BUGS] BUG #14514: Bug in Subquery  (reva.d91@gmail.com)
Список pgsql-bugs
On Wed, Jan 25, 2017 at 12:23 AM, <reva.d91@gmail.com> wrote:
The following bug has been logged on the website:

Bug reference:      14514
Logged by:          Revathi Dharmalingam
Email address:      reva.d91@gmail.com
PostgreSQL version: 9.3.10
Operating system:   Windows 7/Unix
Description:

It is ignoring the invalid columns in subquery,Instead of throwing the error
'Column does not exist'.

(eg):
select * from emp where (empname,empid,empno) in(selec emname,emid,emno from
em_details)

Note:There is no emno in em_details table.

​Working as designed.  The reference to "emno" comes from the "emp" table - this is what is called a correlated subquery.

David J.​

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14514: Bug in Subquery
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] could not fork autovacuum worker process: No error