Re: What does "merge-joinable join conditions" mean ????

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What does "merge-joinable join conditions" mean ????
Дата
Msg-id 24607.1137370218@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What does "merge-joinable join conditions" mean ????  ("Dean Gibson (DB Administrator)" <postgresql4@ultimeth.com>)
Список pgsql-sql
"Dean Gibson (DB Administrator)" <postgresql4@ultimeth.com> writes:
> So, given the fact that the right-hand-table is only about 15 rows, do 
> you think changing the SELECT back to a LEFT JOIN, and then using a 
> UNION to get the extra right-hand-rows in, is the best work-around?

Yeah, a UNION of left and right joins seems the only very reasonable
solution.  As long as you're sure there are no duplicate rows you
need to keep, it'll work well enough.
        regards, tom lane


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

Предыдущее
От: "Dean Gibson (DB Administrator)"
Дата:
Сообщение: Re: What does "merge-joinable join conditions" mean ????
Следующее
От: Daniel CAUNE
Дата:
Сообщение: Executing plpgsql scripts using psql, is that possible?