Re: Problema con triger

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Mario Soto Cordones - Venezuela <msotocl(at)gmail(dot)com>
Cc: Luis Rodrigo Gallardo Cruz <rodrigo(at)nul-unu(dot)com>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Problema con triger
Date: 2006-02-18 04:20:29
Message-ID: c2d9e70e0602172020p3853f7d1of02c5267877d160c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 2/17/06, Mario Soto Cordones - Venezuela <msotocl(at)gmail(dot)com> wrote:
> El día 17/02/06, Luis Rodrigo Gallardo Cruz <rodrigo(at)nul-unu(dot)com> escribió:
> > On Fri, Feb 17, 2006 at 04:53:27PM -0400, Mario Soto Cordones - Venezuela
> wrote:
> > > Una vez mas, esta es la funcion original la cual es llamada por un
> trigger::
[...snip...]
> >
> > Y rec_activos es de tipo activos, pero el trigger debe regresar del tipo
> > de la tabla en la que está instalado.
> >
>
> OK,
> pero lo que no entiendo es que es lo que debo retornar, ya que el
> return que hago es rec_activos.
>

return old;
return new;
return record_de_tipo_public_modelo;
return null;

escoje una...

--
Atentamente,
Jaime Casanova

"What they (MySQL) lose in usability, they gain back in benchmarks, and that's
all that matters: getting the wrong answer really fast."
Randal L. Schwartz

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Gustavo Pardo 2006-02-18 14:48:32 consulta de novato en postgres
Previous Message Mario Gonzalez 2006-02-18 03:32:24 Re: Python y PostgreSQL