From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: listar <listar@mail.ru>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6154: wrong result with nested left-joins
Date: Mon, 08 Aug 2011 08:51:39 -0500
Message-ID: <4E3FA39B020000250003FC1F@gw.wicourts.gov> (raw)
In-Reply-To: <201108081313.p78DDX6W021751@wwwmaster.postgresql.org>
References: <201108081313.p78DDX6W021751@wwwmaster.postgresql.org>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, listar@mail.ru
Subject: Re: BUG #6154: wrong result with nested left-joins
In-Reply-To: <4E3FA39B020000250003FC1F@gw.wicourts.gov>
References: <201108081313.p78DDX6W021751@wwwmaster.postgresql.org> <4E3FA39B020000250003FC1F@gw.wicourts.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox