Re: Column level triggers

From: "Laurent Wandrebeck" <l(dot)wandrebeck(at)gmail(dot)com>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Column level triggers
Date: 2008-10-15 08:19:59
Message-ID: fc593b510810150119qadab60al41a1448e3481ce00@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

2008/10/15 Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>:
>
> You'll probably have to ask that in -hackers. I'm guessing it's one
> of those things that if one wrote a sufficiently large check one could
> find a hacker to implement it. But I can't imagine it being a weekend
> project, and if it's not already in 8.4 beta it wouldn't make it to
> 8.4, but you'd have to shoot for 8.5.
OK, will forward that to the more appropriate ml.
>
> Since you can check which columns have changed, it's pretty easy to
> write a trigger that just skips its logic when none of the trigger
> columns have changed.
Agreed, but it's not the cleanest way (well, actually, it is, right now:).
Laurent.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurent Wandrebeck 2008-10-15 08:21:35 Column level triggers
Previous Message Peter Eisentraut 2008-10-15 08:04:08 Re: Column level triggers

Browse pgsql-hackers by date

  From Date Subject
Next Message Laurent Wandrebeck 2008-10-15 08:21:35 Column level triggers
Previous Message KaiGai Kohei 2008-10-15 08:10:59 Re: Updates of SE-PostgreSQL 8.4devel patches