As a starting point, SETOF "RECORD" is different from SETOF RECORD given PostgreSQL's fold case to lower case for unquoted names.
Ahh! That will help :)
That's what you get when you use a silly IDE instead of a regular editor like vi or notepad or something. Because I haven't written a procedure for years (and even then, I only wrote one or two simple ones) I'd forgotten the syntax so I thought using a dedicated prostgres procedure editor would make it easier. I didn't even think to considder the double quotes!
Thanks for pointing that out.
---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly