Re: BUG #3012: Wrong JOIN order when a JOIN depends on result from a LEFT JOIN. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3012: Wrong JOIN order when a JOIN depends on result from a LEFT JOIN.
Date
Msg-id 7538.1171659641@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3012: Wrong JOIN order when a JOIN depends on result from a LEFT JOIN.  ("Pelle Johansson" <morth@morth.org>)
Responses Re: BUG #3012: Wrong JOIN order when a JOIN depends on result from a LEFT JOIN.  (Pelle Johansson <morth@morth.org>)
List pgsql-bugs
"Pelle Johansson" <morth@morth.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


Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.
Next
From: Phil Frost
Date:
Subject: Re: Segfaults and assertion failures with not too extraordinary views and queries