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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What does "merge-joinable join conditions" mean ????
Дата
Msg-id 24299.1137367313@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: What does "merge-joinable join conditions" mean ????  ("Dean Gibson (DB Administrator)" <postgresql4@ultimeth.com>)
Ответы 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:
> SELECT count(*)  FROM "GenAppExtra" FULL JOIN  "GeoRestrict" ON callsign 
> ~ pattern  WHERE region_id = 4 OR geo_region = 4;

> If either of the "region_id = 4"  (a field in the right-hand table) or 
> "geo_region = 4" (a field in the left-hand table) are removed, the 
> SELECT functions (does not give an error message),

Really?  The FULL JOIN condition using ~ is the source of the failure,
and I'd be quite surprised if changing WHERE makes it work.
        regards, tom lane


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

Предыдущее
От: "Dean Gibson (DB Administrator)"
Дата:
Сообщение: Re: What does "merge-joinable join conditions" mean ????
Следующее
От: "Dean Gibson (DB Administrator)"
Дата:
Сообщение: Re: What does "merge-joinable join conditions" mean ????