Bug about column references within subqueries used in selects

Поиск
Список
Период
Сортировка
От NikhilS
Тема Bug about column references within subqueries used in selects
Дата
Msg-id d3c4af540704120538y42ffd87cye438a00e2729a0e8@mail.gmail.com
обсуждение исходный текст
Ответы Re: Bug about column references within subqueries used in selects  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-hackers
Hi, <br /><br />Shouldn't the final command below cause a 'column "b" does not exist error'?<br /><br />create table
update_test(a int, b int);<br />create table supdate_test(x int, y int);<br />insert into update_test values (20, 30);
<br/>insert into supdate_test values (40, 50);<br />select a, (select b from supdate_test) from update_test;<br /><br
/>        a  ?column?<br />---------- -------------------------<br />        20        30<br /><br />Is the problem
withthe code in colNameToVar or maybe we should add checks in transformSubLink? <br /><br clear="all" />Regards,<br
/>Nikhils<br/>-- <br />EnterpriseDB               <a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a> 

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: elog(FATAL) vs shared memory
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Bug about column references within subqueries used in selects