From: Tom Lane <tgl@sss.pgh.pa.us>
To: nickf@ontko.com
Cc: PGSQL-SQL <pgsql-sql@postgresql.org>
Subject: Re: RIGHT JOIN is only supported with mergejoinable join conditions
Date: Wed, 07 Nov 2001 14:06:08 -0500
Message-ID: <5788.1005159968@sss.pgh.pa.us> (raw)
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGGEDJDOAA.nickf@ontko.com>
References: <NEBBLAAHGLEEPCGOBHDGGEDJDOAA.nickf@ontko.com>
"Nick Fankhauser" <nickf@ontko.com> writes:
> and
> (
> local_case_type.local_case_subtype_code =
> case_data.local_case_type_code
> )
Did you actually mean to match local_case_subtype_code against
local_case_type_code, or is that a typo?
I believe you have uncovered a planner bug, but the bug may be triggered
by the partial overlap of this join condition with the next one.
Assuming that it's a typo, you may find that you avoid the problem by
fixing the typo.
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, nickf@ontko.com
Subject: Re: RIGHT JOIN is only supported with mergejoinable join conditions
In-Reply-To: <5788.1005159968@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