Ezequiel Tolnay <mail@xxxxxxxxxxxxxx> writes: > I just can't get used to the annoyance of having to create a type for > every single function that returns a rowset. It is frankly cumbersome. Yup. See coming attractions at, eg, http://developer.postgresql.org/docs/postgres/xfunc-sql.html#XFUNC-OUTPUT-PARAMETERS http://developer.postgresql.org/docs/postgres/plpgsql-declarations.html#PLPGSQL-DECLARATION-ALIASES regards, tom lane