[Pljava-dev] Help with SETOF

Thomas Hallgren thhal at mailblocks.com
Tue Sep 14 18:06:34 UTC 2004


Daniel,
At present, only a set of tuples can be returned and you need to define 
a type for the tuple such as:

CREATE TYPE myIntRow AS (myInt integer);

after that, its very similar to the complex return example.

Regards,

Thomas Hallgren

daniel.ovalle wrote:

>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
>
>_______________________________________________
>Pljava-dev mailing list
>Pljava-dev at gborg.postgresql.org
>http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>  
>




More information about the Pljava-dev mailing list