Re: Help with trigger

From: Rikard Bosnjakovic <rikard(dot)bosnjakovic(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Help with trigger
Date: 2010-08-15 08:19:54
Message-ID: AANLkTimVdH8+O9JqyTiOWdgHWTMFyoGXJBDbN62QcaXp@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Sun, Aug 15, 2010 at 07:21, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

[...]
> From your verbal description I wonder if you shouldn't have the trigger
> on components instead.

Adding a trigger ON UPDATE on the components table solved the problem
- dimensions are now purged automatically as soon as the components
are updated.

Thanks.

--
- Rikard

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Leon Starr 2010-08-16 02:11:05 How to trap invalid enum input exception?
Previous Message Tom Lane 2010-08-15 05:21:42 Re: Help with trigger