On Wed, 23 Feb 2005, Cristian Prieto wrote: > RETURNS SETOF Users gave me: > > getuser > ----------------- > (cristian,hola) > Yes, it's ok, but for SETOF function You have to use different style of calling SELECT * FROM getuser(...). If function call in normal centext then SRF function returns only one column. ps ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend