Re: filtering after join

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: filtering after join
Дата
Msg-id 200601252011.13465.peter_e@gmx.net
обсуждение исходный текст
Ответ на filtering after join  (andrew <andrew.ylzhou@gmail.com>)
Ответы Re: filtering after join  (andrew <andrew.ylzhou@gmail.com>)
Список pgsql-sql
andrew wrote:
> I want to use a UDF to filter tuples t that are generated after a
> join. More specifially, I have a UDF foo(record), which computes a
> value for a given tuple.  I can do the filtering before the join.
> e.g.:
>
> select * from A, B where foo(A)<2 and A.a=B.b;

What makes you think that the filtering happens before the join here?  
And why would it matter?  The results should be all the same.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: filtering after join
Следующее
От: andrew
Дата:
Сообщение: Re: filtering after join