Trigger question - Mailing list pgsql-hackers

From Michael Meskes
Subject Trigger question
Date
Msg-id 20001011170437.A3633@feivel.credativ.de
Whole thread Raw
List pgsql-hackers
I just got this question in my mailbox. Anyone with more knowledge than I
can probably answer it. :-)

> I need "generic" trigger functions, that is trigger functions that have to know
> about the table they have been triggerd from.
> 
> Example: 
> a trigger function that generates a crc sum on all fields of any table.
> 
> In pltcl I can get the field names of the triggering table, but I am not able
> to call my "C" function from within pltcl (I can call my "C" fuinction
> perfectly well from the psql command line or from withing a plpgsql function.
> 
> Any helpful ideas? Appreciate any hint.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Denis Perchine
Date:
Subject: Problem specifying limit in select inside insert.
Next
From: Peter Eisentraut
Date:
Subject: Re: 7.0.2 on Solaris