Re: rules or trigers? - Mailing list pgsql-general

From Marcin Mazurek
Subject Re: rules or trigers?
Date
Msg-id 20000830231612.A26624@poznan.mtl.pl
Whole thread Raw
In response to Re: rules or trigers?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane (tgl@sss.pgh.pa.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/

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: rules or trigers?
Next
From: Tom Lane
Date:
Subject: Re: PG 7.0 vacuum problem