[Pgsql-ayuda] Triggers

Alvaro Herrera alvherre@dcc.uchile.cl
Wed, 15 Oct 2003 16:06:27 -0300


On Tue, Oct 14, 2003 at 04:30:12PM -0500, Silvia Ortega wrote:
> Alguno de ustedes me puede dar un ejemplo de trigger
> Lo que necesito es un trigger o varios que se disparen cuando se inserta o
> modifica un registro en una tabla, para
> que dicho registro (de varios campos) de inserte a su vez o se modifique en
> otra tabla (historica).

Date: Wed, 15 Oct 2003 21:58:55 +0300
From: Kaarel <kaarel@future.ee>
To: Nagib Abi Fadel <nagib_postgres@yahoo.com>
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Triggers tutorial

>is there any good trigger tutorial on the net ??

http://www.postgresql.org/docs/7.3/static/triggers.html
http://www.postgresql.org/docs/7.3/static/plpgsql-trigger.html#AEN36127
http://www.postgresql.org/docs/7.3/static/rules-triggers.html
http://www.postgresql.org/docs/aw_pgsql_book/node162.html
http://www.commandprompt.com/ppbook/index.lxp?lxpwrap=x20655%2ehtm

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El hombre nunca sabe de lo que es capaz hasta que lo intenta" (C. Dickens)