On Wed, Jun 13, 2001 at 12:11:42AM +0200,
Peter Eisentraut <peter_e@gmx.net> wrote:
> mazzo writes:
>
> > Hi all..i'm trying to create a trigger that fires before i insert a value into a column and if the value i insert
isnegative, it will change it to positive...
Couldn't you do this using a rule to update the table and a constraint on
the table to prevent bad data from getting into the table without using the
rule?