Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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.


- Rikard

In response to

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group