Re: Instead of Triggers

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Instead of Triggers
Дата
Msg-id 20061029162712.GC2388@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Instead of Triggers  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Michael Fuhr wrote:
> On Fri, Oct 27, 2006 at 05:49:19PM +0530, chelliah gabriel - Sun Microsystems - Bangalore India wrote:
> > Does PG support Instead of Triggers?.
>
> PostgreSQL has INSTEAD OF rules.

It also has the ability to prevent the execution of the action which
triggered the, um, trigger (by returning NULL in a BEFORE/FOR EACH ROW
trigger), while executing a different action (say, inserting in a
different table).

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Modifying SQL parser with extensions?
Следующее
От: Richard Troy
Дата:
Сообщение: Re: Modifying SQL parser with extensions?