Re: return procedimientos o funciones

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: tgutierrez(at)unipamplona(dot)edu(dot)co
Cc: angel Iracheta <angel(dot)iracheta(at)gmail(dot)com>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: return procedimientos o funciones
Date: 2004-10-12 20:32:48
Message-ID: 20041012203248.GG4646@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Tue, Oct 12, 2004 at 02:53:06PM -0500, tgutierrez(at)unipamplona(dot)edu(dot)co wrote:
> Ayuda
> como hago para que un procedimiento o funcion, devuelva al mismo tiempo
> dos variables...

No se puede. Puedes devolver un valor de tipo record que tenga dos
campos.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Doing what he did amounts to sticking his fingers under the hood of the
implementation; if he gets his fingers burnt, it's his problem." (Tom Lane)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2004-10-12 20:36:04 Re: Un trigger sencilla que no hay manera ade que funcione
Previous Message tgutierrez 2004-10-12 20:12:46 procedimiento o funcion que devuelva 2 o mas varibles al mismo tiempo