Re: Getting non_NULL right-side values on a non-matching join?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Getting non_NULL right-side values on a non-matching join?
Дата
Msg-id 14405.1385082742@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Getting non_NULL right-side values on a non-matching join?  (Ken Tanzer <ken.tanzer@gmail.com>)
Ответы Re: Getting non_NULL right-side values on a non-matching join?  (Ken Tanzer <ken.tanzer@gmail.com>)
Список pgsql-general
Ken Tanzer <ken.tanzer@gmail.com> writes:
> Hello.  In doing a left join with a particular view as the right table, and
> non-matching join criteria, I am getting values returned in a few fields.
>  All the rest are NULL.  I would expect all the right side values to be
> NULL.

Hmmm ... the join conditions involving COALESCE() remind me of a bug I
just fixed last week.  Are you in a position to try a patch?  If so,
here's the fix against 9.2:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=patch;h=51b6ae6bba75bca2374a24cf7c740da74c955ad5

If that doesn't help, please see if you can extract a self-contained
test case.

            regards, tom lane


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

Предыдущее
От: Ken Tanzer
Дата:
Сообщение: Re: Getting non_NULL right-side values on a non-matching join?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Primary Key