Re: Forward referencing of table aliases in subqueries does not work in 9.1 beta2 ( works in 9.0 and 8.4.2 )

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Forward referencing of table aliases in subqueries does not work in 9.1 beta2 ( works in 9.0 and 8.4.2 )
Дата
Msg-id 2488.1308596787@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Forward referencing of table aliases in subqueries does not work in 9.1 beta2 ( works in 9.0 and 8.4.2 )  (BangarRaju Vadapalli <BangarRaju.Vadapalli@infor.com>)
Список pgsql-general
BangarRaju Vadapalli <BangarRaju.Vadapalli@infor.com> writes:
> create table a(x int);
> create table b(x int, y int);
> create table c(x int, y int, z int);
> This query fails with ERROR: JOIN qualification cannot refer to other relations - select a.x from a, b where a.x =
b.xand not exists ( select 1 from c where b.y = c.y and not exists ( select 1 from c where a.x = c.x)) 

Thanks, I've applied a patch for this.

            regards, tom lane

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

Предыдущее
От: Raghavendra
Дата:
Сообщение: Re: how to find a tablespace for the table?
Следующее
От: hyelluas
Дата:
Сообщение: Re: how to find a tablespace for the table?