Re: [HACKERS] 8.1 OUT params returning more than one row question

2005-08-31 Thread Alvaro Herrera
On Wed, Aug 31, 2005 at 11:27:39AM -0500, Tony Caduto wrote: Hi, > I came up with the function below, and it does work, however I had to > declare another record to use in the FOR ..IN loop. > > From my reading of the docs the out params create a record type > automaticly and my question is how

[HACKERS] 8.1 OUT params returning more than one row question

2005-08-31 Thread Tony Caduto
Hi, I have been playing around with 8.1(it's very nice by the way) and was trying to get OUT params to return more than 1 row. I came up with the function below, and it does work, however I had to declare another record to use in the FOR ..IN loop. From my reading of the docs the out params