Re: BUG #1886: Bug in SQL parsing

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: BUG #1886: Bug in SQL parsing
Дата
Msg-id 20050916065614.L69600@megazone.bigpanda.com
обсуждение исходный текст
Ответ на BUG #1886: Bug in SQL parsing  ("Pete Beck" <pete@electrostrata.com>)
Ответы Re: BUG #1886: Bug in SQL parsing  (Pete Beck <pete@electrostrata.com>)
Список pgsql-bugs
On Fri, 16 Sep 2005, Pete Beck wrote:

>
> The following bug has been logged online:
>
> Bug reference:      1886
> Logged by:          Pete Beck
> Email address:      pete@electrostrata.com
> PostgreSQL version: 8.0.1 & 8.0.3
> Operating system:   Linux and Windows
> Description:        Bug in SQL parsing
> Details:
>
> Postgres incorrectly reports a relation is being missing in a SQL.
>
> The following query reports:
>
> ERROR:  relation "product0_" does not exist

I believe this error is correct.

It looks to me like you have:
A Left join B on condition, C left join D on condition2
where condition2 refers to A.

IIRC, in standard SQL, the scope for condition contains A and B and the
scope for condition2 contains C and D but not A.

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

Предыдущее
От: "Viswanath Ramineni"
Дата:
Сообщение: BUG #1887: "Fillinvalues failed" error : PgOledb 1.0.0.19 with Postgres 8.1 Beta
Следующее
От: Robert Treat
Дата:
Сообщение: Re: BUG #1885: SHOW autovacuum settings tab completion broken