> > If I did the following: > SELECT * FROM "Users"; > I get: > > userid | passwd > ----------+-------- > cristian | hola > > AND I execute: > SELECT getuser('cristian', 'hola'); > > I get: > getuser > ----------------- > (cristian,hola) > There are two posibilities SELECT getuser('cristian','hola'); SELECT * FROM getuser('cristian','hola') AS (userid varchar, passwd varchar); Regards Pavel ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster