On Thu, Sep 03, 2009 at 10:52:09AM +0900, Itagaki Takahiro wrote:
> 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)
> and completed some under-construction parts.
> It's still arguable that we should add dependencies from column
> triggers to referenced columns.
+1 for adding the dependencies.
> 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.
> ITAGAKI Takahiro
> NTT Open Source Software Center
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2009-09-03 02:12:04|
|Subject: Re: Schedule for 8.5 Development|
|Previous:||From: Itagaki Takahiro||Date: 2009-09-03 01:52:09|
|Subject: Triggers on columns|