agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Help with SETOF
Date: Tue, 14 Sep 2004 20:06:34 +0200
Message-ID: <4147332A.2040307@mailblocks.com> (raw)
In-Reply-To: <1095183177.3624.4.camel@wrk68.caminosca.com>
References: <1095183177.3624.4.camel@wrk68.caminosca.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
>  
>





view thread (2+ messages)

Message-ID: <4147332A.2040307@mailblocks.com>
Permalink:  ../4147332A.2040307@mailblocks.com/
Also on:    postgresql.org/message-id/4147332A.2040307@mailblocks.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Help with SETOF
  In-Reply-To: <4147332A.2040307@mailblocks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox