From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Trigger question |
Date: | 2000-10-11 15:04:37 |
Message-ID: | 20001011170437.A3633@feivel.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-10-11 15:14:56 | Re: Small patch to replace 'idle' by 'trans' if transaction is still open |
Previous Message | Tom Lane | 2000-10-11 14:54:17 | Re: Small patch to replace 'idle' by 'trans' if transaction is still open |