Triggers on columns

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Triggers on columns
Дата
Msg-id 20090903103748.3121.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответы Re: Triggers on columns  (David Fetter <david@fetter.org>)
Re: Triggers on columns  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Here is a patch to implement "Support triggers on columns" in our ToDo list.

The syntax is:
    CREATE TRIGGER name
        BEFORE UPDATE OF col1, col12, ...
        ON tbl FOR EACH ROW EXECUTE PROCEDURE func();

I consulted the previous work following:
    Column-level triggers (From: Greg Sabino Mullane, Date: 2005-07-04)
    http://archives.postgresql.org/pgsql-patches/2005-07/msg00107.php
and completed some under-construction parts.

It's still arguable that we should add dependencies from column
triggers to referenced columns. In the present patch, dropeed
columns are just ignored and always considered as not-modified.
Please grep with "TODO: (TRIGGER)" to check the issue.

Comments welcome.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: initdb: The password file was not generated.
Следующее
От: David Fetter
Дата:
Сообщение: Re: Triggers on columns