Re: filtering after join

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Cc: andrew <andrew(dot)ylzhou(at)gmail(dot)com>
Subject: Re: filtering after join
Date: 2006-01-26 11:22:34
Message-ID: 200601261222.34906.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Sullivan 2006-01-26 11:39:02 Re: Changing the transaction isolation level within the stored
Previous Message Mario Weilguni 2006-01-26 11:22:03 Re: Physical column size