Triggers

From: Germán Hüttemann Arza <ghuttemann(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Triggers
Date: 2006-10-15 14:29:05
Message-ID: 598837360610150729y6c266a3foc7fa6150ddf930c9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Mair 2006-10-15 14:48:22 Re: Triggers
Previous Message Peter Eisentraut 2006-10-15 09:39:20 Re: BEGIN WORK READ ONLY;