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!