Jeff, thank you for the time and suggestion. I'm also trying to use SETOF custom_type as a solution
Oksana ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org