Skip site navigation (1) Skip section navigation (2)

Re: BUG #3012: Wrong JOIN order when a JOIN depends on result from a LEFT JOIN.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pelle Johansson" <morth(at)morth(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3012: Wrong JOIN order when a JOIN depends on result from a LEFT JOIN.
Date: 2007-02-16 21:00:41
Message-ID: 7538.1171659641@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"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


Attachment: join-push-down-82.patch
Description: application/octet-stream (11.3 KB)

In response to

Responses

pgsql-bugs by date

Next:From: Phil FrostDate: 2007-02-16 21:59:38
Subject: Re: Segfaults and assertion failures with not too extraordinary views and queries
Previous:From: Tom LaneDate: 2007-02-16 05:57:12
Subject: Re: BUG #3015: libpq: PQftype() on a lo type result column returns Oid of type oid instead of Oid of type lo.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group