subquery q2 does not have attribute 0

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема subquery q2 does not have attribute 0
Дата
Msg-id 1384202819.95967.YahooMailNeo@web162901.mail.bf1.yahoo.com
обсуждение исходный текст
Ответы Re: subquery q2 does not have attribute 0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In playing with a sample query from another thread I found this
query is broken on the master branch:

select q1.*
  from (select 'a'::text) q1(c)
  where not exists
   (select * from (select 'A'::text) q2(c) where q2 = q1);

I get:

ERROR:  subquery q2 does not have attribute 0

I checked and found it broken on 9.2 and 9.3, but working on 9.1.
git bisect, says it was broken by commit
1cb108efb0e60d87e4adec38e7636b6e8efbeb57.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Add %z support to elog/ereport?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: subquery q2 does not have attribute 0