Re: Functions returning sets

Поиск
Список
Период
Сортировка
От 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  (Don Baccus <dhogaza@pacifier.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: C++ Headers
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Fix for tablename in targetlist