Wells Oliver | 24 Apr 2012 02:29
Picon
Gravatar

Calling a plpgsql function with an array of results?

Trying to call my function like so:


select myschema.myfunction(select myid from mytable);

myfunction has the signature: myfunction(integer[])

myid is an integer; I am trying to select them as an array to pass to the function.

Where am I going wrong? Thanks!

--
Wells Oliver
wellsoliver <at> gmail.com

Gmane