I trying to make a function that returns a SETOF int4. But i can't do it with the example in the documentation. Can someone send me a little example with SETOF?? i'm using PostgreSQL 7.4.3 and all the other examples run well. thanks Daniel