| От | Chris Mair |
|---|---|
| Тема | Re: Triggers |
| Дата | |
| Msg-id | 1160923702.16849.2.camel@ultra.home.lan обсуждение исходный текст |
| Ответ на | Triggers ("Germán Hüttemann Arza" <ghuttemann@gmail.com>) |
| Ответы |
Re: Triggers
|
| Список | pgsql-general |
> Why you should write a function first and then the trigger, which must > call that function? > > What are the advantages/disadvantages of that? Where can I find more > information? The PG way seems very natural to me: you can write functions that do something and then have many triggers call that same function. Also there's not just PL/PGSQL: you might want to define a function in C or Perl and then have a trigger call it. Bye, Chris. -- Chris Mair http://www.1006.org
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера