Re: filtering after join

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: filtering after join
Дата
Msg-id 200601261222.34906.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: filtering after join  (andrew <andrew.ylzhou@gmail.com>)
Ответы Re: filtering after join  (andrew <andrew.ylzhou@gmail.com>)
Список pgsql-sql
andrew wrote:
> But the function foo() would produce different values for the two
> queries, so the result will be different.
> A simple example is foo() computes the sum of all the integer fields
> of the input record.

OK, I see now where you're getting at.  You want to combine the record 
type of A and B into one.  Then the proposed solution is right.

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


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

Предыдущее
От: andrew
Дата:
Сообщение: Re: filtering after join
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Changing the transaction isolation level within the stored