From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | "P(at)blo Villad(at)" <andresv50(at)hotmail(dot)com> |
Cc: | pgsql-es-ayuda(at)postgresql(dot)org |
Subject: | Re: DUDA GRANDISIMA TRIGGER AYUDA GRACIAS |
Date: | 2005-08-19 02:28:04 |
Message-ID: | 20050819022804.GC9946@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On Thu, Aug 18, 2005 at 11:09:46PM +0000, P(at)blo Villad@ wrote:
> QUE PUEDO HACER .
Leer el hermoso manual:
http://www.postgresql.org/docs/8.0/static/plpgsql-trigger.html
When a PL/pgSQL function is called as a trigger, several special variables are
created automatically in the top-level block. They are:
NEW
Data type RECORD; variable holding the new database row for INSERT/UPDATE
operations in row-level triggers. This variable is NULL in statement-level
triggers.
OLD
Data type RECORD; variable holding the old database row for UPDATE/DELETE
operations in row-level triggers. This variable is NULL in statement-level
triggers.
--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"Nadie esta tan esclavizado como el que se cree libre no siendolo" (Goethe)
From | Date | Subject | |
---|---|---|---|
Next Message | Douglas Escobar | 2005-08-19 13:23:33 | RE: Lentitud en Postgres |
Previous Message | Alvaro Herrera | 2005-08-19 01:57:20 | Re: consultas parametrizadas |