Re: question on rules - Mailing list pgsql-sql

From Tom Lane
Subject Re: question on rules
Date
Msg-id 22503.1055469445@sss.pgh.pa.us
Whole thread Raw
In response to question on rules  (weigelt@metux.de)
List pgsql-sql
weigelt@metux.de writes:
> i'd like to write an rule which fills out some empty attrs on 
> insert (w/ data from other given attrs).

You'd be better off doing this with a BEFORE INSERT trigger.
        regards, tom lane


pgsql-sql by date:

Previous
From: weigelt@metux.de
Date:
Subject: question on rules
Next
From: "Albrecht Berger"
Date:
Subject: trigger : emulate "instead of" with before ?