Re: question on rules

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: weigelt(at)metux(dot)de
Cc: PGSQL-SQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: question on rules
Date: 2003-06-13 01:57:25
Message-ID: 22503.1055469445@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

weigelt(at)metux(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tomasz Myrta 2003-06-13 06:00:04 Re: question on rules
Previous Message weigelt 2003-06-13 01:26:11 question on rules