Triggers

Поиск
Список
Период
Сортировка
От Germán Hüttemann Arza
Тема Triggers
Дата
Msg-id 598837360610150729y6c266a3foc7fa6150ddf930c9@mail.gmail.com
обсуждение исходный текст
Ответы Re: Triggers  (Chris Mair <chrisnospam@1006.org>)
Список pgsql-general
Hello, I have this doubt since I started using PostgreSQL, a few months ago.

Why triggers are defined that way? I mean, in others DBMS you simply write:

CREATE TRIGGER <trigger_name> ... bla bla bla
BEGIN
  ....
END;

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?

--
Germán Hüttemann Arza

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BEGIN WORK READ ONLY;
Следующее
От: Chris Mair
Дата:
Сообщение: Re: Triggers