Hi Dave,
I look this problem but i d'not understand the code. In pgschema is not possible to specify the RetSet when add new function. It is an error or never has not been completed the adding function?
int retun sql definetion
Public Property Get SQL(Optional OrReplace As Boolean = False) As String
...
current
szSQL = szSQL & " RETURNS " & szReturns
new
szSQL = szSQL & " RETURNS "
if bRetSet then szSQL = szSQL & " SETOF "
szSQL = szSQL & szReturns
is correct this code?
If I remember correctly, the code will recognise set returning functions (SRFs), generate the SQL for them, and mark them as such in the properties dialogue, you just can't create them yet in pgAdmin. That would be nice to have for the release if you want to fix it :-)
Regards, Dave.