Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins. |
| Дата | |
| Msg-id | 6191.1306248297@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins. (Hitoshi Harada <umi.tanuki@gmail.com>) |
| Ответы |
Re: pgsql: Support RIGHT and FULL OUTER JOIN in hash joins.
|
| Список | pgsql-committers |
Hitoshi Harada <umi.tanuki@gmail.com> writes:
> 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.
No, the code is correct as-is: we need the flag to be set true by
default, because the way that the function is using it, we'll also skip
some nestloop possibilities when it's false. Note the comment for step
2.
It could be that a different name for that flag variable would be a
better idea, but neither Robert nor I could come up with a better one.
regards, tom lane
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера