Triggers

Поиск
Список
Период
Сортировка
От Ezequias Rodrigues da Rocha
Тема Triggers
Дата
Msg-id 55c095e90608210503h530a53b6rc49113e379e3d466@mail.gmail.com
обсуждение исходный текст
Ответы Re: Triggers  (Kaloyan Iliev <news1@faith.digsys.bg>)
Re: Triggers  (Kis János Tamás <kjt@takarnet.hu>)
Список pgsql-sql
Hi list,
 
I am planning to generate a trigger to each [update or delete or insert] on my database to register all moviment on my base (current_user, when, action, user).
 
I notice that the trigger is able put a procedure in action but as I have more than 20 tables I would like to use only one trigger to solve my problem. Is that possible ?
 
Now my trigger is working well but I do not want to make 26 triggers and 26 functions.
 
Is there any people that can help me with this question ?


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                                  Atenciosamente (Sincerely)
                        Ezequias Rodrigues da Rocha
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
A pior das democracias ainda é melhor do que a melhor das ditaduras
The worst of democracies is still better than the better of dictatorships
http://ezequiasrocha.blogspot.com/

В списке pgsql-sql по дате отправления:

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: NULL becomes default
Следующее
От: Kaloyan Iliev
Дата:
Сообщение: Re: Triggers