Re: It's a bug???? 8-() - Mailing list pgsql-novice

From Tom Lane
Subject Re: It's a bug???? 8-()
Date
Msg-id 3066.972262581@sss.pgh.pa.us
Whole thread Raw
In response to It's a bug???? 8-()  (Vic <vic@dcc.dp.ua>)
List pgsql-novice
Vic <vic@dcc.dp.ua> writes:
> create rule r_3 as
> on UPDATE to task_l.url do
> update task_l set start_time=now();

> psql:3.sql:3: ERROR:  attribute level rules currently not supported

You'll have better luck (and probably better performance, anyway) doing
this with an ON UPDATE trigger, instead of a rule.

            regards, tom lane

pgsql-novice by date:

Previous
From: Vic
Date:
Subject: It's a bug???? 8-()
Next
From: Vic
Date:
Subject: Re: It's a bug???? 8-()