| От | Christopher Masto |
|---|---|
| Тема | Inheritance and rules/triggers |
| Дата | |
| Msg-id | 20010417172732.A19116@netmonger.net обсуждение |
| Список | pgsql-general |
For some reason, I assumed that rules and triggers on a base table would run when operations are performed on inherited tables. After I spent the day setting up some tables and functions based on that assumption, I discovered that it seems to be incorrect. I'm posting this in the hope that I'm missing something. I hope. Please. My system has a lot of tables which are linked to some information which must be updated when any of them are updated. If we miss one or add a new table in the future and forget to set the trigger, it would be a major problem. I thought using a trigger on the base table would be a clever solution. :-/ -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера