From: thhal at mailblocks.com (Thomas Hallgren) Date: Tue, 14 Sep 2004 20:06:34 +0200 Subject: [Pljava-dev] Help with SETOF In-Reply-To: <1095183177.3624.4.camel@wrk68.caminosca.com> References: <1095183177.3624.4.camel@wrk68.caminosca.com> Message-ID: <4147332A.2040307@mailblocks.com> 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 > >