Re: trigger proceedures in sql - Mailing list pgsql-sql

From Jan Wieck
Subject Re: trigger proceedures in sql
Date
Msg-id 3F114A7A.2090904@Yahoo.com
Whole thread Raw
In response to trigger proceedures in sql  ("adivi" <adivi@maximizelearning.com>)
List pgsql-sql
Rajesh Kumar Mallah wrote:
> 
> Yes of course!
> contrib/dbmirror does execute a procedure written in 'C'
> called recordchange()  ON update , insert , delete.
> If you need help in getting its source lemme know.
> 
> regds
> Mallah.
> 
> On Thursday 10 Jul 2003 11:10 am, adivi wrote:
>> hi,
>>
>>       can trigger proceedures ( procedures to be executed from within a
>> trigger ) not be written in sql.
>>
>>       i was looking for examples and can find proceedures in 'c' only.

Trigger procedures can also be written in many procedural languages like 
PL/Perl, PL/Tcl and PL/pgSQL (what you should be looking at closer). 
Examples for PL/pgSQL can be found in the regression test.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



pgsql-sql by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: help yourself by helping others
Next
From: Steve Wampler
Date:
Subject: Replacing a simple nested query?