Variable return type... - Mailing list pgsql-general

From Cristian Prieto
Subject Variable return type...
Date
Msg-id 00fd01c5da8b$6316b8f0$6500a8c0@gt.ClickDiario.local
Whole thread Raw
Responses Re: Variable return type...  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general

Hi, I was working in a set of SPs inside PL/pgSQL and I was wonder if I could return a set of variable types from a function, for example, in some time the same function could return a set of tuples with an integer and a string, in other times It may return a set of tuples with an integer, a string and another string… a so on…

 

I know I can use anyelement but then I would need to specify an anyelement input type (but in my case the input element would the the same all the time);

 

Any idea in how I could do this?

 

Thanks a lot!

pgsql-general by date:

Previous
From: Douglas McNaught
Date:
Subject: Re: Error Message
Next
From: Michael Fuhr
Date:
Subject: Re: Error Message