Ya but when i use the return next it gives me all OUT parameters but i will get last record of out parameter1 repetitive untill the last record of last out parameter . Sorry i didn't have output with me . Is there any other way to achive this ? Many Thanks for your help merlin ... -- View this message in context: http://postgresql.1045698.n5.nabble.com/RETURNING-MORE-THAN-ONE-CUSTOM-TYPE-FROM-FUNCTION-tp5712546p5713602.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general