From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sami Dalouche <skoobi@free.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: Outer joins and Seq scans
Date: Sun, 28 Oct 2007 19:45:14 -0400
Message-ID: <10339.1193615114@sss.pgh.pa.us> (raw)
In-Reply-To: <1193612147.9809.13.camel@samlaptop>
References: <1193606710.9008.12.camel@samlaptop>
<8688.1193609314@sss.pgh.pa.us>
<1193612147.9809.13.camel@samlaptop>
Sami Dalouche <skoobi@free.fr> writes:
> So, the version of postgres I use is :
> samokk@samlaptop:~/Desktop $ dpkg -l | grep postgres
> ii postgresql-8.2 8.2.5-1.1
OK. I think you have run afoul of a bug that was introduced in 8.2.5
that causes it not to realize that it can interchange the ordering of
certain outer joins. Is there any chance you can apply the one-line
patch shown here:
http://archives.postgresql.org/pgsql-committers/2007-10/msg00374.php
If rebuilding packages is not to your taste, possibly a down-rev to
8.2.4 would be the easiest solution.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, skoobi@free.fr
Subject: Re: Outer joins and Seq scans
In-Reply-To: <10339.1193615114@sss.pgh.pa.us>
* 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