Re: FULL JOIN is only supported with merge-joinable join conditions

Поиск
Список
Период
Сортировка
От hx.li
Тема Re: FULL JOIN is only supported with merge-joinable join conditions
Дата
Msg-id hi3laa$2j6b$1@news.hub.org
обсуждение исходный текст
Ответ на FULL JOIN is only supported with merge-joinable join conditions  ("hx.li" <fly2nn@126.com>)
Ответы Re: FULL JOIN is only supported with merge-joinable join conditions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> It's an implementation restriction.  If the clauses aren't mergejoinable
> there's no very practical way to keep track of which inner-side rows
> have had a match.


If we could consider it is equivalent transformation as follow?

select * from t_1 full outer join t_3 on t_1.a=1;
and
select * from t_1 full outer join t_3 on true where t_1.a=1;

If we could transform RestrictInfo into the where-clause, maybe it right.

TEST=# select * from t_1 full outer join t_3 on true where t_1.a=1;
 A | A
---+---
 1 | 1
 1 | 3
(2 rows)



В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Broersma
Дата:
Сообщение: Re: Is there any different for foreign key to be serial instead of integer
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FULL JOIN is only supported with merge-joinable join conditions