Re: rules or trigers?

From: Marcin Mazurek <M(dot)Mazurek(at)poznan(dot)multinet(dot)pl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: rules or trigers?
Date: 2000-08-30 21:16:12
Message-ID: 20000830231612.A26624@poznan.mtl.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) napisał:
> See the problem? What you want is to lay your hands on the actual
> values that are getting inserted into "tab", and a rule cannot do that.
> But a trigger does exactly that.
and thats what I did a minute ago, works just fine, at least it looks like:)

> I am not sure whether this behavior of rules is a bug or a feature.
> I am sure that it would be difficult to change...
maybe somebody needs it that way, at least I have an option.
thx for Your help.

Marcin Mazurek

--
Kierownik Działu Systemowego
MULTINET SA o/Poznan
http://www.multinet.pl/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-08-30 21:41:04 Re: PG 7.0 vacuum problem
Previous Message Tom Lane 2000-08-30 21:12:18 Re: rules or trigers?