Re: returning more than one value from pgsql

From: "Geoffrey J(dot) Gowey" <ggowey(at)rxhope(dot)com>
To: qradius(at)qnet(dot)com(dot)pe
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: returning more than one value from pgsql
Date: 2001-11-15 18:35:30
Message-ID: 3BF40AF2.5010505@rxhope.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

The only way around this is either to make the output of the pgsql sp in
XML or make a seperator char that can be filtered. At least that's the
only two solutions that I have found.

Geoff

qradius(at)qnet(dot)com(dot)pe wrote:

>Dear Sirs:
>
>Please I would want to know any possible solution for this:
>
>Actually I am transporting my database on Sybase (Adaptive
>Server) to postgresql , but I am facing a problem :
>
>I need to trasnport a stored procedure that retruns two values
>, but I know pgsql funtions only returns 1 value, Somebody has
>experienced this situation, and how solved this?
>
>Please I am looking for ideas, its possible return a RECORD
>type ? how?
>
>Thank you for your replies in advance.
>
>Regards
>
>Ernesto
>Freyre
>
>---------------------------------------------
>Este mensaje fue enviado a travs de Qnet
>http://www.qnet.com.pe
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Svenne Krap 2001-11-15 18:57:24 userauth and hosting
Previous Message Steve Wolfe 2001-11-15 18:15:10 Re: Postgres+Delphi