Re: BUG #6154: wrong result with nested left-joins - Mailing list pgsql-bugs

From Kevin Grittner
Subject Re: BUG #6154: wrong result with nested left-joins
Date
Msg-id 4E3FA39B020000250003FC1F@gw.wicourts.gov
Whole thread Raw
In response to BUG #6154: wrong result with nested left-joins  ("listar" <listar@mail.ru>)
Responses Re: BUG #6154: wrong result with nested left-joins
Re: BUG #6154: wrong result with nested left-joins
List pgsql-bugs
"listar" <listar@mail.ru> wrote:

> PostgreSQL version: 8.4.5

> Description:        wrong result with nested left-joins

> And this is the problem - value2 can't be NULL because of COALESCE
> in sub4 (at least I think that it can't be =))

This works correctly in release 9.0.4 and development HEAD.  I
don't still have any machines handy which are running 8.4, but you
might want to try it on the latest bug-fix version of 8.4 (currently
8.4.8) to see if the fix was back-patched.

http://www.postgresql.org/support/versioning

-Kevin

pgsql-bugs by date:

Previous
From: "listar"
Date:
Subject: BUG #6154: wrong result with nested left-joins
Next
From: "ai"
Date:
Subject: Re: BUG #6154: wrong result with nested left-joins