Re: filtering after join - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: filtering after join
Date
Msg-id 200601261222.34906.peter_e@gmx.net
Whole thread Raw
In response to Re: filtering after join  (andrew <andrew.ylzhou@gmail.com>)
Responses Re: filtering after join  (andrew <andrew.ylzhou@gmail.com>)
List 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 by date:

Previous
From: andrew
Date:
Subject: Re: filtering after join
Next
From: Andrew Sullivan
Date:
Subject: Re: Changing the transaction isolation level within the stored