From: Jan Wieck <JanWieck@Yahoo.com>
To: Rajesh Kumar Mallah <mallah@trade-india.com>
Cc: adivi <adivi@maximizelearning.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: trigger proceedures in sql
Date: Sun, 13 Jul 2003 08:03:06 -0400
Message-ID: <3F114A7A.2090904@Yahoo.com> (raw)
References: <004401c346a5$bbf0bb50$5d0410ac@maximizelearning.com>
<200307131201.06850.mallah@trade-india.com>
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 #
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: JanWieck@Yahoo.com, mallah@trade-india.com, adivi@maximizelearning.com
Subject: Re: trigger proceedures in sql
In-Reply-To: <3F114A7A.2090904@Yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox