Trigger question

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Trigger question
Дата
Msg-id 20001011170437.A3633@feivel.credativ.de
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Denis Perchine
Дата:
Сообщение: Problem specifying limit in select inside insert.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: 7.0.2 on Solaris