Databases: Postgresql how to return nested type in a function

Published --