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. # #================================================== [EMAIL PROTECTED] #
---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]