"Pelle Johansson" <morth(at)morth(dot)org> writes:> We have a join where we select which row to join on a subquery with a> coalesce on a column from a left join, which is not working as expected.
The attached patch should fix this.
regards, tom lane