Search Postgresql Archives

Sending Results From One Function As Input into Another Function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

I need to send the results (SETOF RECORDS) from one function into another
function, to produce another result (SETOF RECORDS). I am not quite sure how
to do get this done. The first function filters a large table down a more
manageable dataset. I want to send the results of this first function to
another function, where computations are performed. I could combine into a
single function, but I would lose some flexibility that I would like to
maintain by keeping the two functions separate. Preliminary research
suggests that cursors might be the way to go, but I am not too experienced
with the use of cursors and was unable to find good examples. Any help would
be greatly appreciated...

Jeff




-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux