| От | Tom Lane |
|---|---|
| Тема | Re: Functions returning sets |
| Дата | |
| Msg-id | 7636.990319449@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Functions returning sets (Don Baccus <dhogaza@pacifier.com>) |
| Ответы |
Re: Functions returning sets
|
| Список | pgsql-hackers |
Don Baccus <dhogaza@pacifier.com> writes:
> What's so hard about writing "IN" rather than "=" ???
Even more to the point, if we did adopt such a (crazy IMHO)
interpretation of '=', what makes anyone think that it'd be
any more efficient than IN?
AFAICT, mlw is hoping that redefining '=' would magically avoid the
performance problems with IN, but my bet is it'd be just the same.
What we need to do is teach the system how to handle WHERE ... IN ...
as a form of join. Changing semantics of operators isn't necessary
nor helpful.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера