[HACKERS] inquiry using create function

2001-10-25 Thread fcarlo
Hello, I've tried to search some postgresql mailing lists and i haven't found an answer to my problem... I create a function with the setof keyword... create function employee(int) returns setof employee as 'select * from employee where $1 = id' language 'sql'; Instead of returning a tuple,

[HACKERS] inquiry using create function

2001-10-25 Thread fcarlo
Hello, This is my first post here. I've tried to search the archive and i haven't found an answer to my problem...here it is... I created a function with the "create function+setof" keywords... create function employee(int) returns setof employee as 'select * from employee where $1 = id' langu