| От | Ed Loehr |
|---|---|
| Тема | Re: [GENERAL] triggers & functions |
| Дата | |
| Msg-id | 387D21FB.FC5C8BEA@austin.rr.com обсуждение исходный текст |
| Ответ на | triggers & functions (Sarah Officer <officers@aries.tucson.saic.com>) |
| Список | pgsql-general |
Sarah Officer wrote:
> Can anyone set me straight here? An example of a trigger which
> calls a sql procedure would be much appreciated! I'd like the
> function to be able to access the rows which are being removed.
How about examples of a trigger that calls a *PL/pgSQL* procedure that
has access to the rows being removed?
http://www.deja.com/getdoc.xp?AN=570616874
Oh, and I don't understand the opaque business yet, either. But it
seems I must return an opaque type for any function called directly by
a trigger, and that OLD and NEW are only available to that function...
Cheers,
Ed Loehr
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера