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!
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера