Re: RIGHT JOIN is only supported with mergejoinable join conditions - Mailing list pgsql-sql

From Tom Lane
Subject Re: RIGHT JOIN is only supported with mergejoinable join conditions
Date
Msg-id 5788.1005159968@sss.pgh.pa.us
Whole thread Raw
In response to RIGHT JOIN is only supported with mergejoinable join conditions  ("Nick Fankhauser" <nickf@ontko.com>)
Responses Re: RIGHT JOIN is only supported with mergejoinable join conditions  ("Nick Fankhauser" <nickf@ontko.com>)
List pgsql-sql
"Nick Fankhauser" <nickf@ontko.com> writes:
>        and
>        (
>          local_case_type.local_case_subtype_code =
>          case_data.local_case_type_code
>        )

Did you actually mean to match local_case_subtype_code against
local_case_type_code, or is that a typo?

I believe you have uncovered a planner bug, but the bug may be triggered
by the partial overlap of this join condition with the next one.
Assuming that it's a typo, you may find that you avoid the problem by
fixing the typo.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Nick Fankhauser"
Date:
Subject: Re: RIGHT JOIN is only supported with mergejoinable join conditions
Next
From: wyatt@draggoo.com
Date:
Subject: Single VIEW, Everybody JOIN!