calling a function over several rows

From: Adam Rich <adam(dot)r(at)sbcglobal(dot)net>
To: postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: calling a function over several rows
Date: 2009-11-17 06:02:26
Message-ID: 4B023C72.50707@sbcglobal.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
There is an existing function which takes an integer and returns a
record. I need to call this function with every integer in a table. Is
there a simple shortcut for doing this?

I'm looking for something like:

select f.*
from function(t.value) f, table t

Thanks,
Adam

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-11-17 06:15:43 Re: calling a function over several rows
Previous Message Ashesh Vashi 2009-11-17 05:01:17 Re: specifying a password on the cmd line for db connect