From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Rajesh Kumar Mallah <mallah(at)trade-india(dot)com> |
Cc: | adivi <adivi(at)maximizelearning(dot)com>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: trigger proceedures in sql |
Date: | 2003-07-13 12:03:06 |
Message-ID: | 3F114A7A.2090904@Yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)Yahoo(dot)com #
From | Date | Subject | |
---|---|---|---|
Next Message | Jo | 2003-07-13 16:32:22 | How to write this query! |
Previous Message | Rajesh Kumar Mallah | 2003-07-13 07:46:49 | Re: help yourself by helping others |