Re: Bug #795: null resulting from left join corrupts select

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug #795: null resulting from left join corrupts select
Дата
Msg-id 27813.1034260233@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug #795: null resulting from left join corrupts select  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> select
>  *
> from
>  test1 left join test2 on (test1.test1_id = test2.test1_id)
> where
>  test1.test1_id = test2.test1_id;

Hm.  I think what is happening is that the planner is (mistakenly)
deciding that the where-clause and on-clause are equivalent, and
so dropping the second one ...

            regards, tom lane

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: user name lost from dictionary
Следующее
От: Ruslan A Dautkhanov
Дата:
Сообщение: Re: Creating server-side functions: one simple error