Re: ERROR: FULL JOIN is only supported with merge-joinable join conditions
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: ERROR: FULL JOIN is only supported with merge-joinable join conditions |
| Дата | |
| Msg-id | 7935.1142266716@sss.pgh.pa.us обсуждение |
| Ответ на | Re: ERROR: FULL JOIN is only supported with merge-joinable join conditions (Martijn van Oosterhout <kleptog@svana.org>) |
| Ответы |
Re: ERROR: FULL JOIN is only supported with merge-joinable
|
| Список | pgsql-general |
Martijn van Oosterhout <kleptog@svana.org> writes:
> I think the reason it hasn't been done for general join conditions is
> because we havn't thought of an efficient algorithm.
Right, it's keeping track of the unmatched right-hand rows that's a
problem.
> However, I wonder if youre case couldn't be handled with a
> time-interval datatype such that you condition is merge-joinable on
> that type. I can't quite see it though...
Interesting thought. The use of NULLs in this example is a pretty poor
representational choice --- the queries would get a lot simpler if you
used "exptime = INFINITY" to represent unexpired data. That doesn't get
you all the way to a mergejoinable query though :-(
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера