Re: Re : Update columns in same table from update trigger?

From: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
To: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
Cc: Pablo Romero Abiti <pabiti(at)yahoo(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Re : Update columns in same table from update trigger?
Date: 2011-07-24 09:06:30
Message-ID: 6C4E75E0-A948-4A72-ACDB-30252D9C387D@solfertje.student.utwente.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 24 Jul 2011, at 11:00, Alban Hertroys wrote:

> You can't fire a trigger on non-existant data.

I just realised the above statement is a little inexact: you can't fire row-level triggers on non-existant data.

You can still fire statement-level triggers on them, but with those you won't have information about which row(s) were involved, so it won't help your case.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.

!DSPAM:737,4e2be09d12091863320979!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gavin Flower 2011-07-24 09:21:43 Re: Implementing "thick"/"fat" databases
Previous Message Alban Hertroys 2011-07-24 09:00:46 Re: Re : Update columns in same table from update trigger?