Re: Triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Triggers
Дата
Msg-id 22991.1160930610@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Triggers  (Chris Mair <chrisnospam@1006.org>)
Список pgsql-general
Chris Mair <chrisnospam@1006.org> writes:
>> Why you should write a function first and then the trigger, which must
>> call that function?

> ... there's not just PL/PGSQL: you might want
> to define a function in C or Perl and then have a trigger call it.

Right, that's the real reason: this approach doesn't constrain which
PL you can write your triggers in.

            regards, tom lane

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