vojta(dot)rylko(at)gmail(dot)com writes:
> I have problem with right join which uses coalesce in join condition. With
> other type of join or without coalesce query works.
I've pushed a fix for this. Thanks for the report and test case!
regards, tom lane