Skip site navigation (1) Skip section navigation (2)

Re: Recuperar Statement en un Trigger

From: "Lic(dot) Martin Marques" <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Jaime Casanova <systemguards(at)gmail(dot)com>
Cc: Nicolás Domínguez Florit <ndomin(at)rec(dot)unicen(dot)edu(dot)ar>, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Recuperar Statement en un Trigger
Date: 2006-04-28 11:34:28
Message-ID: Pine.LNX.4.61.0604280830310.16227@bugs.unl.edu.ar (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
On Fri, 28 Apr 2006, Jaime Casanova wrote:

> http://www.postgresql.org/docs/8.1/static/plpgsql-trigger.html
>
> con PG_OP puedes saber si fue un INSERT, UPDATE o DELETE
> con PG_RELNAME puedes saber que tabla es

Son TG_*. TG_OP, TG_RELNAME, etc.

--
  21:50:04 up 2 days,  9:07,  0 users,  load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' || 
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
     del Litoral             |   Administrador
---------------------------------------------------------

In response to

Responses

pgsql-es-ayuda by date

Next:From: deepthroatDate: 2006-04-28 11:54:59
Subject: Re: Días de la semana en español
Previous:From: Nicolás Domínguez FloritDate: 2006-04-28 11:08:59
Subject: Re: Recuperar Statement en un Trigger

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group