Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins. - Mailing list pgsql-committers

From Hitoshi Harada
Subject Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins.
Date
Msg-id BANLkTinio_qPOZz7rcz-6f+wB+N5H34eRg@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins.
List pgsql-committers
2011/1/1 Tom Lane <tgl@sss.pgh.pa.us>:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Thu, Dec 30, 2010 at 9:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> On reflection, how about inverting the flag's value and calling it
>>> mergejoin_allowed or some such?
>
>> Yeah, that's better.
>
> OK, done that way.

It looks to me like mergejoin_allowed should be initialized to false.
If enable_mergejoin is off and jointype != JOIN_FULL then mergejoin is
not allowed, isn't it? Sorry for noise if it's only my confusing.

Regards,

--
Hitoshi Harada

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make plpgsql complain about conflicting IN and OUT parameter nam
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins.