| От | 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 ????
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера